Page 1 of 1

File Bag/Install MSI problem

Posted: Tue May 29, 2007 6:01 am
by MortSkil
Hi,

I am trying to install the Sentinel Protection Server as a prerequisite using the following code
Set Variable PROGRESSTEXT to Installing drivers for Sentinel SuperPro
Set Variable SPROFILES to
Define File Bag : #SUPERPRO#\\7.3.0\\*.msi, get runtime location of files into variable SPROFILES
Set Variable SPROERR to
Does File Exist $SPROFILES$\\Sentinel_Protection_Installer_7.3.0.msi (get result into variable SPROEXIST)
MessageBox: Sentinel Protection Installer, Define File Bag in $NEWLINE$$SPROFILES$$NEWLINE$The SPROEXIST variable is $SPROEXIST$
if Variable SPROEXIST not Equals TRUE
Set Variable SENTINEL to NOTFOUND
MessageBox: Sentinel Protection Installer, Could not find Sentinel Protection Installer in $SPROFILES$
else
Install/Remove MSI Package $SPROFILES$\\Sentinel_Protection_Installer_7.3.0.msi[/passive ENABLEFIREWALL=TRUE] (get result into Variable SPROERR)
end

The Message box in line 6 indicates that the file bag is in
D:\\data\\Sentinel Protection Server\\mFileBagIDE.dll\\bag\and that the wanted file exist (SPROEXIST variable is TRUE).

Nevertheless, when I continue, the call to (Un)Install MSI fails with the error "The filename, directory name, or volume label syntax is incorrect".

Does anyone have any idea what might be wrong?

Posted: Tue May 29, 2007 6:03 am
by MortSkil
Executing

msiexec /i "D:\\data\\Sentinel Protection Server\\mFileBagIDE.dll\\bag\\Sentinel_Protection_Installer_7.3.0.msi" /passive ENABLEFIREWALL=TRUE


manually on the target system is successful, so there should be nothing wrong with the command...

Posted: Sat Jun 02, 2007 6:13 am
by jimo
To pass that command line to the msi I would use "Run Program" and use the same command line you used to manually install.

With the SafeNet installers they give you the merge modules and a web setup, you can use the merge modules and the "Windows FIrewall" plugin (available in the plugins forum) and build the Sentinel Protectin Installer right into your set up package.

Posted: Tue Jun 05, 2007 1:51 am
by MortSkil
I never managed to get a proper driver install with the merge modules last time I tried (a year and a half ago), as the merge modules were created in InstallShield, and required some custom action adjustments that were not straightforward to do in Wise for Windows Installer.

Do you think the merge modules are easier to use with InstallAware? Have anyone had any success using them? I am all ears for recommendations! :)

Posted: Tue Jun 05, 2007 7:01 am
by jimo
The custome actions they require are opening ports in the Windows Firewall. If I were you I would review using the merge modules again or alternatively I would use the web setup exe provided by SafeNet.