Solved

How can I get Installshield to suggest one Destination Folder if target machine is running Vista, and another Destination Folder if target machine is running any other Windows?

Posted on 2008-06-19
1
820 Views
Last Modified: 2013-11-14
How can I get my Installshield MSI script (which generates a setup.exse) to suggest one Destination Folder if target machine is running Vista, and another Destination Folder if target machine is running any other Windows?
0
Comment
Question by:reggieperrin
1 Comment
 
LVL 40

Accepted Solution

by:
Vadim Rapp earned 500 total points
ID: 21826799
create 2 custom actions:
1:
property name = INSTALLDIR
property value: <destination if XP>
install ui sequence: after CostFinalize
install ui condition: VersionNT=501

2:
property name = INSTALLDIR
property value: <destination if Vista>
install ui sequence: after CostFinalize
install ui condition: VersionNT>=600

It should also be put into install exec sequence, for the case when the installation runs without user dialog - but be careful not to override the choice already made in user interface sequence - if it was.
0

Featured Post

Enterprise Mobility and BYOD For Dummies

Like “For Dummies” books, you can read this in whatever order you choose and learn about mobility and BYOD; and how to put a competitive mobile infrastructure in place. Developed for SMBs and large enterprises alike, you will find helpful use cases, planning, and implementation.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Among others, I monitor the Windows Installer zone and Installer zone. I find that many of the questions could be answered much more quickly if a Windows Installer verbose log were submitted with the question.   However, I do not always have t…
If you don't know how to downgrade, my instructions below should be helpful.
Two types of users will appreciate AOMEI Backupper Pro: 1 - Those with PCIe drives (and haven't found cloning software that works on them). 2 - Those who want a fast clone of their boot drive (no re-boots needed) and it can clone your drive wh…
Although Jacob Bernoulli (1654-1705) has been credited as the creator of "Binomial Distribution Table", Gottfried Leibniz (1646-1716) did his dissertation on the subject in 1666; Leibniz you may recall is the co-inventor of "Calculus" and beat Isaac…

770 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question