Install based on OS
Hi
I am currently trying to package some software that will be run on windows XP and 7 however each OS requires different settings in the package, is there any IF statements I could use so that when running the package it could determine what OS its currently being installed on and run the correct settings required?
I am currently trying to package some software that will be run on windows XP and 7 however each OS requires different settings in the package, is there any IF statements I could use so that when running the package it could determine what OS its currently being installed on and run the correct settings required?
0 Comments
[ + ] Show comments
Answers (4)
Please log in to answer
Posted by:
Innes
13 years ago
Posted by:
anonymous_9363
13 years ago
It looks like you're trying to test the condition in DOS/Command prompt? You can't do that, as the WI engine doesn't pass its properties to DOS. You need to create a Custom Action and use the VersionNT property to condition its execution.
If it were me, I'd be building a VBScript which uses Microsoft's rather good DACLS class to do the permissioning. That way, I get proper control and error-trapping.
If it were me, I'd be building a VBScript which uses Microsoft's rather good DACLS class to do the permissioning. That way, I get proper control and error-trapping.
Posted by:
hari4243
13 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.