saltstack/salt-windows-install — pull request #6 by baijum (2012-05-24 19:11:45+00:00)
Title: Basic Wix source file to create MSI

Steps to create MSI:

- Download Wix 3.5 from http://wix.codeplex.com/
- Append "C:\Program Files\Windows Installer XML v3.5\bin" to PATH environment variable
- Run these three commands to create MSI.

heat dir deps\salt -gg -cg PortableSalt -var var.SaltDir -sreg -o allfiles.wxs
candle -dSaltDir="deps\salt" salt_x86.wxs allfiles.wxs
light salt_x86.wixobj allfiles.wixobj -o salt_x86.msi

This gives a minimal installer, without vcredist_x86.exe
The Win32OpenSSL is included as per the instruction, but seems to be not working.
So, if both vcredist & Win32OpenSSL is installed before this, Salt minion should run.

I have added instruction for running vcredist_x86.exe, but it's commented, it makes
the installer crash in my system.

I hope this would be a good start, we can tweak it as we progress.