Help - Search - Members - Calendar
Full Version: Hex Workshop 4.22
MSFN Forums > Unattended Windows Discussion & Support > Application Installs

   
Google Internet Forums Unattended CD/DVD Guide
mazin
Hex Workshop 4.22
----------------------

If you downloaded this application from the Internet, it might be named "hw32v422.exe".

Whatever the name is, right-click it and extract with WinRAR. You should have these files extracted inside a folder with the same name of "hw32v422":

_inst32i.ex_
_ISDel.exe
_Setup.dll
_sys1.cab
_sys1.hdr
_user1.cab
_user1.hdr
data1.cab
data1.hdr
DATA.TAG
lang.dat
layout.bin
os.dat
Setup.exe
SETUP.INI
setup.ins
setup.lid

Rename the folder "hw32v422" to "HWS422" and move it into your "Install" folder.

Create a text file inside the folder "HWS422" and name it "setup.iss" (not setup.iss.txt).

Open "setup.iss" in Notepad, copy and paste the following into it:

[InstallShield Silent]
Version=v5.00.000
File=Response File
[File Transfer]
OverwriteReadOnly=NoToAll
[DlgOrder]
Dlg0=SdWelcome-0
Count=5
Dlg1=SdLicense-0
Dlg2=SdAskDestPath-0
Dlg3=SdSelectFolder-0
Dlg4=SdFinish-0
[SdWelcome-0]
Result=1
[SdLicense-0]
Result=1
[SdAskDestPath-0]
szDir=C:\Program Files\BreakPoint Software\Hex Workshop 4.2
Result=1
[SdSelectFolder-0]
szFolder=Hex Workshop 4.2
Result=1
[Application]
Name=Hex Workshop 4.2
Version=4.22
Company=BreakPoint
Lang=0009
[SdFinish-0]
Result=1
bOpt1=0
bOpt2=0


As you can see, the "setup.iss" file has no registration data. This is because the application doesn't ask for registration data during its installation. You register after installation is complete and without being prompted.

So, install the application first, register it with your own registration data, close it, then go to Start->Run, and type "regedit" to open the Registry Editor.

Look for this key: [HKEY_LOCAL_MACHINE\SOFTWARE\BreakPoint\Licenses] and export it into the folder "HWS422".

Then, look for this key: [HKEY_CURRENT_USER\Software\BreakPoint License Manager] and export it into the folder "HWS422".

When saving, you can name the first key "HWS1" and the second "HWS2".

Now, open "HWS2" in Notepad and copy its contents. Open "HWS1" in Notepad and paste what you copied into it. Close both "HWS1" and "HWS2", delete "HWS2" and rename "HWS1" to HWS.

At this point, the folder "HWS422" should have 19 files: 17 files extracted + setup.iss + HWS.reg

This is your batch file (the part of Hex Workshop 4.22)

ECHO.
ECHO Installing Hex Workshop 4.22
ECHO Please wait...
start /wait %systemdrive%\Install\HWS422\Setup.exe -s
REGEDIT /S %systemdrive%\Install\HWS422\HWS.reg
del "%allusersprofile%\Desktop\Hex Workshop 4.2.lnk"

Notice that the last string may not be executed because that shortcut may not be created before your batch undertakes another application installation.

You can plan to put that string in a later phase in your batch file.

Your improvements are welcomed.

EDIT: This is nearly the same way at http://www.msfn.org/board/index.php?showtopic=14793 but more detailed.

EDIT: the post has been edited to correct a registry key and simplify a switch. It's been tested on a clean machine and worked fine.
eirogge
QUOTE (mazin @ Mar 10 2004, 08:31 PM)
Then, look for this key: [HKEY_USERS\S-1-5-21-1993962763-764733703-1708537768-500\Software\BreakPoint License Manager] and export it into the folder "HWS422".

AFAIK this is a random key (the S-1-5-21-1993962763-764733703-1708537768-500 part) which changes with every installation of windows so you wont have luck with that :-/
XtremeMaC
u can do the same thing into current user i believe..
it has the same key...
mazin
I think we may not need this key: [HKEY_USERS\S-1-5-21-1993962763-764733703-1708537768-500\Software\BreakPoint License Manager].

And I think it's not imported!! The method is still valid, though!
mazin
XtremeMaC

Yes , this key: [HKEY_USERS\S-1-5-21-1993962763-764733703-1708537768-500\Software\BreakPoint License Manager] can be replaced with this one:

[HKEY_CURRENT_USER\Software\BreakPoint License Manager]

It deserves to be given a try!
Google Internet Forums Unattended CD/DVD Guide
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.