I'm making a MSI that needs to skip a bunch of files if the plattform is windows 7 "Home"/"Starter"/"Basic".

My first thought was "system search" so i added a property (value 0) and then created a registry(read raw value) - "system search" against "HKLM\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Productname"

then i added a condition under feature:

OSVERBUILD NOT ="Windows 7 Home Premium" OR OSVERBUILD NOT ="Windows 7 Home Basic" OR OSVERBUILD NOT ="Windows 7 Starter"

The above feature is for pro/enterprise so to speak...

My question is: If you are talking best practice and what not...how do you normaly go about this? Is there a buildt in condition for this already?

/Asman

Answer Summary:
Cancel
0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

2

For something like this, there's no 'Best Practice'. It's up to the client first, then you as the packager if the client has no preference. Document what you've done in a ReadMe and sit it alongside the MSI.

Answered 09/27/2013 by: VBScab
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity
Admin Script Editor
Admin Script Editor is an integrated scripting environment available free here at ITNinja

Share