1. Windows
1.1. Installation
-
Install .NET Framework 3.5.1.
-
Run the wix311.exe file with administrative privileges.
-
Select Install.
-
Select Exit.
-
Append ;C:\Program Files (x86)\WiX Toolset v3.11\bin to the PATH system environment variable.
-
Restart the computer?
1.2. Standalone Installation
-
Start Windows Exlorer.
-
Create the C:\Program Files (x86)\WiX Toolset folder.
-
Close Windows Exlorer.
-
Start 7-Zip File Manager with administrative privileges.
-
Extract the wix311-binaries.zip archive to the C:\Program Files (x86)\WiX Toolset folder.
-
Close 7-Zip File Manager.
-
Append ;C:\Program Files (x86)\WiX Toolset to the PATH system environment variable.
1.3. Example
-
Extract the samplefirst.zip archive to the D:\Programs folder.
cd D:\Programs copy SampleFirst.wxs SampleFirst.org Routines :VBS.Sys.GUID & echo %GUID% # Make a GUID Routines :VBS.Sys.GUID & echo %GUID% # Make a GUID Routines :VBS.Sys.GUID & echo %GUID% # Make a GUID Routines :VBS.Sys.GUID & echo %GUID% # Make a GUID Routines :VBS.Sys.GUID & echo %GUID% # Make a GUID Routines :VBS.Sys.GUID & echo %GUID% # Make a GUID -
Replace the YOURGUID-####-####-####-############ strings by the previously generated GUID’s in the SampleFirst.wxs file.
candle.exe SampleFirst.wxs light.exe SampleFirst.wixobj light.exe -ext WixUIExtension SampleFirst.wixobj dir SampleFirst.*
1.4. Information
-
See https://msdn.microsoft.com/en-us/library/windows/desktop/aa372495%28v=vs.85%29.aspx.
-
See https://msdn.microsoft.com/en-us/library/windows/desktop/ms724832%28v=vs.85%29.aspx.
VersionNT = MajorVersion * 100 + MinorVersion Windows version Major.Minor VersionNT ------------------------------------- ----------- --------- Windows 2000 5.0 500 Windows XP 5.1 501 Windows XP 64-Bit Edition 5.2 502 Windows Server 2003 5.2 502 Windows Server 2003 R2 5.2 502 Windows Vista 6.0 600 Windows Server 2008 6.0 600 Windows Server 2008 R2 6.1 601 Windows 7 6.1 601 Windows Server 2012 6.2 602 Windows 8 6.2 602 Windows Server 2012 R2 6.3* 603 Windows 8.1 6.3* 603 Windows Server 2016 Technical Preview 10.0* 1000 Windows 10 10.0* 1000
-
From my own tests.
Windows version VersionNT ----------------------- --------- Windows XP Professional 501 Windows 7 Professional Windows 8.1 Enterprise Windows 10 Enterprise Windows 10 Professional