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
- :
- Setup.exe location not found for feature prerequisites
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
‎Sep 09, 2008
09:22 AM
Setup.exe location not found for feature prerequisites
I have a package with feature prerequisites for two additional features not included in the typical installation (that's the reason for them being feature prerequisites instead of setup prerequisites). However, when testing the package I always get requested to browse the original setup.exe, which is located at the C drive root on my virtual XP test machine.
I logged the installation, and the following came up:
InstallShield 16:56:23: Features with associated prerequisites are being installed or advertised. Finding setup.exe...
InstallShield 16:56:23: Looking for setup launcher in 'C:' with name 'Setup.exe'...
InstallShield 16:56:23: Checking SourceDir for setup launcher...
InstallShield 16:56:23: Looking for setup launcher in '\{86E0FB27-6EC1-4141-9E6C-F8621850C8F2}\' with name 'Setup.exe'...
InstallShield 16:56:23: Looking for setup launcher in '\{86E0FB27-6EC1-4141-9E6C-F8621850C8F2}\' with unknown name...
InstallShield 16:56:23: Asking user to provide setup launcher location...
InstallShield 16:56:36: Checking for correct setup launcher 'C:\Setup.exe'...
InstallShield 16:56:36: Checking embedded setup.ini
InstallShield 16:56:36: Found matching product code in 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\_is80.ini'.
InstallShield 16:56:36: User selected setup launcher.
MSI (c) (7C!8C) [16:56:36:942]: PROPERTY CHANGE: Modifying SETUPEXEDIR property. Its current value is 'C:'. Its new value: 'C:\'.
So it seems like the custom action cannot find the package at the C root even though it exists there. Based on the "SETUPEXEDIR property. Its current value is 'C:'. Its new value: 'C:\'." part it looks like InstallShield is checking for the presence of C:Setup.exe while it should look for C:\Setup.exe. So is this a bug in InstallShield and are there any workarounds for this? My prerequisite location is set as "Extract from Setup.exe" and the MSI is cached locally to a custom path, although the cache path shouldn't matter as the plain MSI doesn't contain the prerequisites.
I logged the installation, and the following came up:
InstallShield 16:56:23: Features with associated prerequisites are being installed or advertised. Finding setup.exe...
InstallShield 16:56:23: Looking for setup launcher in 'C:' with name 'Setup.exe'...
InstallShield 16:56:23: Checking SourceDir for setup launcher...
InstallShield 16:56:23: Looking for setup launcher in '
InstallShield 16:56:23: Looking for setup launcher in '
InstallShield 16:56:23: Asking user to provide setup launcher location...
InstallShield 16:56:36: Checking for correct setup launcher 'C:\Setup.exe'...
InstallShield 16:56:36: Checking embedded setup.ini
InstallShield 16:56:36: Found matching product code in 'C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\_is80.ini'.
InstallShield 16:56:36: User selected setup launcher.
MSI (c) (7C!8C) [16:56:36:942]: PROPERTY CHANGE: Modifying SETUPEXEDIR property. Its current value is 'C:'. Its new value: 'C:\'.
So it seems like the custom action cannot find the package at the C root even though it exists there. Based on the "SETUPEXEDIR property. Its current value is 'C:'. Its new value: 'C:\'." part it looks like InstallShield is checking for the presence of C:Setup.exe while it should look for C:\Setup.exe. So is this a bug in InstallShield and are there any workarounds for this? My prerequisite location is set as "Extract from Setup.exe" and the MSI is cached locally to a custom path, although the cache path shouldn't matter as the plain MSI doesn't contain the prerequisites.
(5) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 09, 2008
11:03 AM
This is a known issue; a hotfix with resolution can be downloaded from http://community.installshield.com/showpost.php?p=424157&postcount=7 and is described more completely in that thread and in the referenced KB article.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Sep 10, 2008
01:36 AM
Thanks MichaelU! After applying the hotfix it works like a charm 🙂
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 27, 2009
05:19 PM
Does this hot fix work for the setup prerequisites? I'm trying to install .net 2.0 sp 1 as a setup prerequisite but it keeps trying to download the redistributable. I've downloaded the redistributable and placed it in my SUPPORTDIR. I've also changed the Prerequisite properties so that the Build Location is set to "Copy From Media Source". Am I missing something else? Do I also need to place the .prq file into the SOURCEDIR?
Thanks in advance.
Thanks in advance.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2009
10:07 AM
The hotfix only applies to feature prerequisites, as it fixes a problem in the custom action dll which kicks them off. For your issue, make sure your release setting for the prerequisite build location matches or is set to "follow individual selections."
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Mar 02, 2009
01:31 PM
Thank you Michael U. I'll I needed to was reset my Release settings and the setup prerequisites were working as expected.
thanks again.
thanks again.
![](/skins/images/8C9D13A71C7F7695F3262372C0172D68/responsive_peak/images/icon_anonymous_message.png)