Question

Recently I learned that we can execute a MSI file prepared for Windows operating system in Linux using Wine.

For our software we checked few pre-requisites like the Operating system should be Windows XP or higher using windows installer variable VersionNT.

But there is no such variable available where I can check if it is windows OR Linux. My requirement is if it is Linux I want to check some other set of per-requisites.

Is there a way I can get the operating system name in WiX?

Was it helpful?

Solution

I can't begin to say which properties get set in this reverse engineered environment. I'd suggest logging your install (typically /l*v but may be different ) and then see what properties it reports as being set and see if one of those meets your needs.

Licensed under: CC-BY-SA with attribution
Not affiliated with StackOverflow
scroll top