Hello,
I have been trying to install this silently from a cmd file that runs from [GuiRunOnce] on an unattended XPsp2 install CD.
This is the command:
start /wait %systemdrive%\Install\Lavasoft_Personal_Firewall_Setup.exe /VERYSILENT /SP- /SUPPRESSMSGBOXS /NORESTART
It installs, but not silently. A wizard msg box pops up asking if I want to install default configuration or custom?
Default is preselected and I only need to press the NEXT button...two more boxes open and the last has a FINISH button.
I installed the INNO Setup Unpacker and the Compiler and unpacked it and attempted to compile a new installer but am having difficulties.
Under [Setup], in the install_script.iss, is this line:
DefaultDirName={code:GetOutpostFolder}
Inno Setup Compiler wont compile with this there saying it is not a valid directory. If I change it to something else the installer fails with a directory error.
This is the original SETUP portion of the install script (it won't compile):
[SETUP]
AppName=Lavasoft Personal Firewall
AppVerName=Lavasoft Personal Firewall 1.0
DefaultDirName={code:GetOutpostFolder} <-------is this Pascal Scripting?
OutputBaseFilename=LavasoftFirewallInstall1.0
Compression=lzma
WizardImageFile=embedded\WizardImage.bmp
WizardSmallImageFile=embedded\WizardSmallImage.bmp
This is my revised SETUP that compiled but would not install:
[SETUP]
AppName=Lavasoft Personal Firewall
AppVerName=Lavasoft Personal Firewall 1.0
DefaultDirName={pf}\Lavasoft
OutputBaseFilename=LavasoftFirewallInstall1.0
DisableStartupPrompt=yes
DisableReadyPage=yes
DisableDirPage=yes
DisableReadyMemo=yes
DisableProgramGroupPage=yes
DisableFinishedPage=yes
Compression=lzma
There must be a way to force a compile or else how could the original setup.exe have been created?
Any suggestions/solutions? I'm on shaky ground here knowledgewise so please describe in detail any steps that need to be taken.
