Automate .MSI creation
Has anyone attempted automate a .MSI creation?
For example... Let's say you have a package. Every other week an update of a few files come down to be inserted into the package. The new files and all of the information would have to be input into the appropriate tables, and a new product code generated. The appname is always the same so this isn't an issue, we would simply uninstall / re-install. The app uses a command line switch which enables me to install 1 flavor of an updated .exe over another.
The automated installation should take into consideration that there may be custom actions added at some point.
My opinion is that it doesn't sound reasonable to expect something like this to ever work, at least not in the way a .MSI is configured today. That being said, the .MSI's I'm creating are fairly small and fairly easy.
How about .Manifest file generation without a utility such as Manifest maker? Can that be automated as well. Wisecomcapture.exe is an Okay utility but I find that using Wise9 to capture the registry key's works much more consistent than wisecomcapture for this type of thing. Wisecomcapture seems to miss an awful lot of keys that wise9 picks up effortlessly.
Thanks for your input.
Answers (3)
Comments:
-
hey all I thought I would poke my nose in here.. WiX is king for automated content. for your question about manifesting look here. http://wixtoolset.org/documentation/manual/v3/xsd/wix/file.html
for your questions about custom actions.
https://msdn.microsoft.com/en-us/library/windows/desktop/aa368062(v=vs.85).aspx
https://installpac.wordpress.com/2012/05/07/conflict-management-in-wix/
note: make sure you read the comments somewhere in there i realised i was wrong. ;-) lolz.
dont waste your time with wise com capture wix is designed to handle all that. You need to look into heat for this.
http://wixtoolset.org/documentation/manual/v3/overview/heat.html
ps hi Ed / VBScab ... ltns .. - jmcfadyen 6 years ago
This method will only work if you get the new file separately. If you get a new EXE each week, this approach will not work as you will need to recapture all the system changes from scratch. Also, unfortunately, this approach will not automate adding custom actions.