Hello,
I have a prerequisite to be installed before my main application package. For this, I've included the prerequisite's MSI as a "New Windows Installer Package" in the Prerequisites tab.
In the "Installation" tab for this prerequisite, I want to use a silent install, with a command line like:
/quiet INSTALLSERVICE=1 APPDIR="[APPDIR]" ADMINUSER=admin ADMINPASSWORD=password /norestart
However, only hard-coded paths like "C:\MyApp\MyPreReqA\" work, and APPDIR="[APPDIR]" does not work.
I have tried other options like these:
/quiet INSTALLSERVICE=1 APPLICATIONFOLDER=%APPDIR ADMINUSER=admin ADMINPASSWORD=password /norestart
/quiet INSTALLSERVICE=1 APPLICATIONFOLDER="%APPDIR" ADMINUSER=admin ADMINPASSWORD=password /norestart
/quiet INSTALLSERVICE=1 APPLICATIONFOLDER="[APPDIR]\MyPreReqA" ADMINUSER=admin ADMINPASSWORD=password /norestart
/quiet INSTALLSERVICE=1 APPDIR="[APPDIR]\MyPreReqA" ADMINUSER=admin ADMINPASSWORD=password /norestart
/quiet INSTALLSERVICE=1 APPDIR="[APPDIR]" ADMINUSER=admin ADMINPASSWORD=password /norestart
but none of these work.
Please let me know how to proceed with this.
Thanks,
SDutt
FOLLOW US
Get the latest news in Application Packaging