/build/static/layout/Breadcrumb_cap_w.png

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

0 Comments   [ + ] Show comments

Answers (3)

Posted by: shweta_kar 14 years ago
Blue Belt
0
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.
Posted by: anonymous_9363 14 years ago
Red Belt
0
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
Orange Belt
0
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

Thanks
Deepakkumar
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ