/build/static/layout/Breadcrumb_cap_w.png

vista, xp = one msi package

Hi,
I'm trying make software package (msi), which will work with vista and xp. For example if I install this msi in vista, will create folder:
c:\somevistafiles\somefile.dat
but, when I install this msi in xp, will create
c:\somexpfiles\file.dat

How I can do this in Admin Studio 8.5(Installshield)?

Regards

0 Comments   [ + ] Show comments

Answers (7)

Posted by: anonymous_9363 15 years ago
Red Belt
0
I guess the simplest route is to create a 'Set Property' Custom Action to alter the target directory's name, conditioned appropriately, of course.
Posted by: AngelD 15 years ago
Red Belt
0
Why not add conditions to your XP and Vista components so they only get installed on their respective OS version?
Posted by: spartacus 15 years ago
Black Belt
0
ORIGINAL: AngelD

Why not add conditions to your XP and Vista components so they only get installed on their respective OS version?



That's the way I would do it as well.

For the XP component to be installed, use the following condition

(VersionNT >= 501) AND (VersionNT < 600)

For the Vista component to be installed use the following condition

VersionNT >= 600

Regards,

Spartacus
Posted by: anonymous_9363 15 years ago
Red Belt
0
I read the OP as installing the same file but to different folders. I'd guessed (perhaps incorrectly) that the 'file.dat' and 'somefile.dat' was an ommision and both were meant to be 'somefile.dat' or 'file.dat'. Certainly, if they're different files and not just different folder names, then a conditioned feature is the way to go. As ever, look what 'ASSUME' did... :)
Posted by: AngelD 15 years ago
Red Belt
0
Have in mind that Windows Server 2008 will also have VersionNT = 600
Posted by: spartacus 15 years ago
Black Belt
0
ORIGINAL: AngelD

Have in mind that Windows Server 2008 will also have VersionNT = 600



Good point, how about

(VersionNT >= 600) AND (MsiNTProductType=1)

as the condition for the Vista component

Regards,

Spartacus
Posted by: AngelD 15 years ago
Red Belt
0
Using MsiNTProductType=1 would resolve to true for non-server NT platform so seems like a good suggestion Spartacus.
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