This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Getting File Information Contents From .msi
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
‎Oct 05, 2010
02:52 PM
Getting File Information Contents From .msi
Hi there,
During our current automated build process we have a widget that queries the final .msi and prints the contents of the File table to a .txt file.
Now, however, one of our installations will be wrapped in a setup.exe and I'm wondering how I can get my listing from that. Is there a way to run my widget to spit out the listing before the setup.exe is created.
Or, can I use the Automation interface in some way to query the file table in the ism and produce the listing that way.
Just wondering.
Thanks for any information!!
During our current automated build process we have a widget that queries the final .msi and prints the contents of the File table to a .txt file.
Now, however, one of our installations will be wrapped in a setup.exe and I'm wondering how I can get my listing from that. Is there a way to run my widget to spit out the listing before the setup.exe is created.
Or, can I use the Automation interface in some way to query the file table in the ism and produce the listing that way.
Just wondering.
Thanks for any information!!
(6) Replies
‎Oct 06, 2010
08:23 AM
Some brainstorming:
Maybe you could pass /a to Setup.exe at the end of your build. This runs an administrative installation, which extracts and copies the .msi and data files to a directory that you have specified. Then the widget could query the extracted .msi file.
If you are able to upgrade to InstallShield 2011 Premier Edition, you could use a new Precompression Event setting in the Releases view. With this setting, you could specify the command to call your widget and have it query the built .msi package before the .msi package has been digitally signed and streamed into the Setup.exe file. InstallShield 2011 Premier also has automation interface support for specifying the command that you want to be called at this precompression event during the build process.
Maybe you could pass /a to Setup.exe at the end of your build. This runs an administrative installation, which extracts and copies the .msi and data files to a directory that you have specified. Then the widget could query the extracted .msi file.
If you are able to upgrade to InstallShield 2011 Premier Edition, you could use a new Precompression Event setting in the Releases view. With this setting, you could specify the command to call your widget and have it query the built .msi package before the .msi package has been digitally signed and streamed into the Setup.exe file. InstallShield 2011 Premier also has automation interface support for specifying the command that you want to be called at this precompression event during the build process.
‎Oct 06, 2010
08:52 AM
I definitely thought about adding another release configuration to build the .msi only and running the widget on that and that is what I will still consider doing.
I wonder if the automation interface can be used to query and list File Table entries. That's basically what the output of the widget is along with some Upgrade Table stuff.
I wonder if the automation interface can be used to query and list File Table entries. That's basically what the output of the widget is along with some Upgrade Table stuff.
‎Apr 02, 2012
04:03 PM
DebbieL wrote:
If you are able to upgrade to InstallShield 2011 Premier Edition, you could use a new Precompression Event setting in the Releases view. With this setting, you could specify the command to call your widget and have it query the built .msi package before the .msi package has been digitally signed and streamed into the Setup.exe file. InstallShield 2011 Premier also has automation interface support for specifying the command that you want to be called at this precompression event during the build process.
We have upgraded to IS 2012 Premier and have the ability to add Precompression Events. I believe I have an old widget that queried the .msi's file table and dumped a text file with the contents. I could just direct that to use the precompressed .msi. Where will that be located? Is it in the location of the final Setup.exe and deleted once compressed?
‎Apr 02, 2012
04:21 PM
You should be able to use for that. For more information:
Specifying Commands that Run Before, During, and After Builds
Specifying Commands that Run Before, During, and After Builds
‎Apr 03, 2012
01:04 PM
DebbieL wrote:
You should be able to usefor that.
That worked perfectly! THANKS!