INSTALLDIR not changing in silent mode
Hi all,
please help me on this,
the appplication(Vendor MSI) is having its pre-defined properties like "PVSW_PSQL_INSTDIR32 and PVSW_PSQL_DATADIR". i am passing the desied Value to these properties it works fine in UI mode, but not in silent mode.
This application going to deploy on Xp,Win7 and Sever 2008.
on server 2008 the Installdir is "D:\CTRXAPPS\PVSW" and
on xp &win 7 instlalldir is "C:\Program Files\PVSW" how to achive this , is it possibel through SYSTEMSEARCH or Launch Conditions or i have to create Separete MSTs for both OS types
Thanks
Deepakkumar
please help me on this,
the appplication(Vendor MSI) is having its pre-defined properties like "PVSW_PSQL_INSTDIR32 and PVSW_PSQL_DATADIR". i am passing the desied Value to these properties it works fine in UI mode, but not in silent mode.
This application going to deploy on Xp,Win7 and Sever 2008.
on server 2008 the Installdir is "D:\CTRXAPPS\PVSW" and
on xp &win 7 instlalldir is "C:\Program Files\PVSW" how to achive this , is it possibel through SYSTEMSEARCH or Launch Conditions or i have to create Separete MSTs for both OS types
Thanks
Deepakkumar
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
shweta_kar
14 years ago
Hi Deepak,
Create Custom action SetDirectory with name as [INSTALLDIR] and assign the value to it of say [SERVER_INSTALLDIR]
then, create a property with name SERVER_INSTALLDIR=D:\CTRXAPPS\PVSW
i forgot mention one thing is that the condition for the Custom action created will be
VersionNT>=502 and Not Installed.and place it after Cost finalize in Immediate execution.
Create Custom action SetDirectory with name as [INSTALLDIR] and assign the value to it of say [SERVER_INSTALLDIR]
then, create a property with name SERVER_INSTALLDIR=D:\CTRXAPPS\PVSW
i forgot mention one thing is that the condition for the Custom action created will be
VersionNT>=502 and Not Installed.and place it after Cost finalize in Immediate execution.
Posted by:
anonymous_9363
14 years ago
Create Custom action SetDirectory with name as [INSTALLDIR]I have no idea what sheta is proposing here. Naming a CA with a public property's name? Bizarre...
Anyway, when one gets different results between UI and silent modes, the conclusion has to be that there is at least one Custom Action setting the relevant property. Find that CA (or CAs) and ensure that it always gets executed. I'll leave the exercise of finding the relevant attribute that needs to be changed to you. MSDN will have details.
As to installing on different OSs, there are a number of ways to determine which OS is in use. Probably the simplest is to read a registry value into a property with AppSearch. Workstation and Server have some unique values which you could search for. Again, I leave that to you. Once you have a property, you can use it as a condition for a CA which sets the installation's target directory.
Posted by:
deepakkumar
14 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.