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
- :
- Embed Prerequisites into install
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
โJan 15, 2009
06:54 PM
Embed Prerequisites into install
Hi All,
Using IS 2009 Pro, I am installing an App on Vista that requires the latest MFC 9 libs. Part of the install is to register COM objects (COM components requiring the 9.0 C libraries). On Vista, if I just use the MS 9.0 C mergemodules, the install fails (as apparently Vista installs the MFC redists after the COM registration). Side Note: On XP this install works fine.
To get around this problem I have made a prerequisite that always runs vcredist_x86.exe, the goal being that the MFC libs are fully installed PRIOR to any installation / registering of my app.
As this is to be a one file Web Deployment package, I have gone to Release / Setup.exe and set 'Installshield Prerequisite Location' to 'Extract From Setup.exe' in the belief that this would embed all prerequisites into my setup.exe file. Problem is, when I run the built install, at the prerequisite stage, setup.exe opens an Explorer window showing a temporary folder with the unpacked vcredist_x86.exe file in it. Then it justs sits there. I was expecting and hoping that the MFC installer would just run. Is this possible?
Sorry for the long post, wanted to give a thorough understanding.
Thanks for any help!
James
Using IS 2009 Pro, I am installing an App on Vista that requires the latest MFC 9 libs. Part of the install is to register COM objects (COM components requiring the 9.0 C libraries). On Vista, if I just use the MS 9.0 C mergemodules, the install fails (as apparently Vista installs the MFC redists after the COM registration). Side Note: On XP this install works fine.
To get around this problem I have made a prerequisite that always runs vcredist_x86.exe, the goal being that the MFC libs are fully installed PRIOR to any installation / registering of my app.
As this is to be a one file Web Deployment package, I have gone to Release / Setup.exe and set 'Installshield Prerequisite Location' to 'Extract From Setup.exe' in the belief that this would embed all prerequisites into my setup.exe file. Problem is, when I run the built install, at the prerequisite stage, setup.exe opens an Explorer window showing a temporary folder with the unpacked vcredist_x86.exe file in it. Then it justs sits there. I was expecting and hoping that the MFC installer would just run. Is this possible?
Sorry for the long post, wanted to give a thorough understanding.
Thanks for any help!
James
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
โJan 15, 2009
07:17 PM
Well, it looks like I answered this one myself. Turns out I hadn't set the file to run in the prerequisite editor. ๐
My bad. Thanks anyway!
James
My bad. Thanks anyway!
James