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

0 Comments   [ + ] Show Comments


Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


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.
Answered 02/17/2010 by: shweta_kar
Blue Belt

Please log in to comment
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.
Answered 02/17/2010 by: VBScab
Red Belt

Please log in to comment
Thanks alot,

I got it, there are the two differen custom action were settting the properties , just i changed the Path it works fine in silent mode.
and about the different INSTALLDIR on different OS's i have created vb script to look at the os type and apply Required MSTs

Answered 02/19/2010 by: deepakkumar
Orange Belt

Please log in to comment
Answer this question or Comment on this question for clarity