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: prerequisite are skipped when running the setup for the first time
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
‎Feb 02, 2010
05:25 AM
prerequisite are skipped when running the setup for the first time
Hi
I'm using basic MSI project in ISH 2010
My setup include a .net 3.5 SP1 prerequisite which works great except for two machines
When I run the setup.exe for the first it skip the prerequisite part and directly display the Install Welcome dialog, than if I cancel the setup and run it again the prerequisite dialog is displayed with .net 3.5 SP1.
The problematic machines are regular Win XP 32bit with windows installer 4.5 installed and it's services looks OK.
Any idea what can cause this problem ?
Elad
I'm using basic MSI project in ISH 2010
My setup include a .net 3.5 SP1 prerequisite which works great except for two machines
When I run the setup.exe for the first it skip the prerequisite part and directly display the Install Welcome dialog, than if I cancel the setup and run it again the prerequisite dialog is displayed with .net 3.5 SP1.
The problematic machines are regular Win XP 32bit with windows installer 4.5 installed and it's services looks OK.
Any idea what can cause this problem ?
Elad
(8) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 02, 2010
08:41 AM
Maybe a Setup.exe log file gives some information.
setup.exe /debuglog
setup.exe /debuglog
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 03, 2010
04:44 AM
At the point the prerequisite part is running the MSI log is not running yet
I also tried this: setup.exe /v"/l*vx \"C:\Log.log\""
same results.
( I have a basic MSI project. )
I also tried this: setup.exe /v"/l*vx \"C:\Log.log\""
same results.
( I have a basic MSI project. )
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 03, 2010
04:54 AM
Do you talk about a prerequisite or feature prerequisite?
You can generate seperate log files, one for Setup.exe and one for the MSI installation. Just launch Setup.exe with the /debuglog parameter. Setup.exe creates a InstallShield.log file in the same folder.
You can generate seperate log files, one for Setup.exe and one for the MSI installation. Just launch Setup.exe with the /debuglog parameter. Setup.exe creates a InstallShield.log file in the same folder.
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Feb 14, 2010
08:04 AM
Hi
I have run the setup.exe with the parameter you suggested but it didn't really helped me to find the problem
When running the setup for the first time: I see this in the log file
When running it for second time this line is omitted.
I have run the setup.exe with the parameter you suggested but it didn't really helped me to find the problem
When running the setup for the first time: I see this in the log file
2-11-2010[12:12:45 PM]: Skipping prerequisite 'Windows Installer 4.5 for Windows Server 2003 and XP (x64).prq' because it was installed before the reboot
2-11-2010[12:12:45 PM]: Checking setup prerequisite 'Microsoft .NET Framework 3.5 SP1.prq'
2-11-2010[12:12:45 PM]: Prerequisite 'Microsoft .NET Framework 3.5 SP1.prq' scheduled before feature selection
2-11-2010[12:12:45 PM]: Extracting 'Microsoft .NET Framework 3.5 SP1.prq' to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\{AE0DF595-3EA1-47EF-960C-6DA5E48F9A78}\Microsoft .NET Framework 3.5 SP1.prq
2-11-2010[12:12:45 PM]: PrereqEngine: condition,2,2,HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v3.5,SP,,1 -- Successful
2-11-2010[12:12:45 PM]: PrereqEngine: operatingsystemcondition,2, -- Successful
2-11-2010[12:12:45 PM]: PrereqEngine: file,AD29C3DEC8FB0CFDAFE8548371B0EE6D,\SetupPrerequisites\Microsoft .net\3.5 SP1\Full\Helper.exe,http://saturn.installshield.com/devstudio/setuprequirements/Microsoft .net/3.5/Helper.exe,,, -- Successful,
2-11-2010[12:12:45 PM]: PrereqEngine: file,D481CDA2625D9DD2731A00F482484D86,\SetupPrerequisites\Microsoft .net\3.5 SP1\Full\dotnetfx35.exe,http://download.microsoft.com/download/2/0/e/20e90413-712f-438c-988e-fdaa79a8ac3d/dotnetfx35.exe,,, -- Successful,
2-11-2010[12:12:45 PM]: PrereqEngine: execute,Helper.exe,/p dotnetfx35.exe /l 1033 /v "/q /norestart",/p dotnetfx35.exe /l 1033 /v "/q /norestart",1641,3010,, -- Successful
2-11-2010[12:12:46 PM]: PrereqEngine: Id,{074EE22F-2485-4FED-83D1-AAC36C3D9ED0},http://saturn.installshield.com/is/prerequisites/microsoft .net framework 3.5 sp1.prq, -- Successful
2-11-2010[12:12:46 PM]: PrereqEngine: behavior,Optional,,Reboot,4,Failure,
2-11-2010[12:12:46 PM]: PrereqEngine: Lua,
2-11-2010[12:12:46 PM]: PrereqEngine: Hidden,
2-11-2010[12:12:46 PM]: PrereqEngine: MsiProgress,
2-11-2010[12:12:46 PM]: Skipping prerequisite 'Microsoft .NET Framework 3.5 SP1.prq' because it was installed before the reboot
2-11-2010[12:12:46 PM]: Checking setup prerequisite 'MSXML 6.0 SP1.prq'
When running it for second time this line is omitted.
"Skipping prerequisite 'Microsoft .NET Framework 3.5 SP1.prq' because it was installed before the reboot"
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Nov 07, 2010
03:06 PM
I think we've hit the same bug:
http://blog.deploymentengineering.com/2010/11/installshield-setup-prereqs-gotcha.html
http://blog.deploymentengineering.com/2010/11/installshield-setup-prereqs-gotcha.html
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 05, 2011
08:36 AM
Since my Prerequisites are also not installed when I have them associated with a Feature I also tried with the /debuglog parameter and I get the following:
7-5-2011[06:18:14 AM]: Running setup prerequisites ()...
7-5-2011[06:18:14 AM]: Checking setup prerequisite 'JRE_6_Update_20_x64.prq'
7-5-2011[06:18:14 AM]: Features do not match for prerequisite 'JRE_6_Update_20_x64.prq'
7-5-2011[06:18:14 AM]: Checking setup prerequisite 'Apache_Tomcat_6.0.26.prq'
7-5-2011[06:18:14 AM]: Features do not match for prerequisite 'Apache_Tomcat_6.0.26.prq'
7-5-2011[06:18:14 AM]: Checking setup prerequisite 'PostgreSQLPrequisite.prq'
7-5-2011[06:18:14 AM]: Features do not match for prerequisite 'PostgreSQLPrequisite.prq'
So what does this mean that the "Features do not match for prerequisite '...
I only have the one feature and it is always installed. So why do I get this message about it not matching????
7-5-2011[06:18:14 AM]: Running setup prerequisites ()...
7-5-2011[06:18:14 AM]: Checking setup prerequisite 'JRE_6_Update_20_x64.prq'
7-5-2011[06:18:14 AM]: Features do not match for prerequisite 'JRE_6_Update_20_x64.prq'
7-5-2011[06:18:14 AM]: Checking setup prerequisite 'Apache_Tomcat_6.0.26.prq'
7-5-2011[06:18:14 AM]: Features do not match for prerequisite 'Apache_Tomcat_6.0.26.prq'
7-5-2011[06:18:14 AM]: Checking setup prerequisite 'PostgreSQLPrequisite.prq'
7-5-2011[06:18:14 AM]: Features do not match for prerequisite 'PostgreSQLPrequisite.prq'
So what does this mean that the "Features do not match for prerequisite '...
I only have the one feature and it is always installed. So why do I get this message about it not matching????
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jul 05, 2011
09:07 AM
If I simply have the prerequisites installed "Install before feature selection" then they get installed fine, it is only if I set them to a feature that they will NOT be installed.
All I really need to happen is I need the user to be prompted the License agreement before the prerequisites are installed and if the user chooses not to accept the license then nothing gets installed, including the prerequisites.
So if I can not associate with a Feature then can have the license dialog box come up first before they are triggered to be installed?
All I really need to happen is I need the user to be prompted the License agreement before the prerequisites are installed and if the user chooses not to accept the license then nothing gets installed, including the prerequisites.
So if I can not associate with a Feature then can have the license dialog box come up first before they are triggered to be installed?
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Dec 10, 2013
04:09 PM
Has this anomaly ever been solved? I am currently seeing this behavior with InstallShield 2012 Professional on a target Windows XP Pro SP2 clean machine (VM) with only .NET 2.0 SP2 installed.
My Basic MSI project selects the Microsoft .NET Framework 3.5 SP1 redistributable for installation. This redistributable has a default set of prerequisites that I have not edited. In addition, as far as conditional installation, the "Install before feature selection" option is checked (this was default selection).
When I run the setup.exe on a Windows XP Pro SP2 machine with no other version of .NET installed, the engine detects that the prerequisite conditions have been satisfied, and I get prompted with the following:
However, when I run the setup.exe on a Windows XP Pro SP2 machine with .NET 2.0 SP2 installed, I am not presented with this dialog, and the installer proceeds to the InstallShield wizard. But, this only happens the first time I invoke setup.exe. On subsequent invocations, I am prompted to install .NET Framework 3.5 SP1, as expected.
My Basic MSI project selects the Microsoft .NET Framework 3.5 SP1 redistributable for installation. This redistributable has a default set of prerequisites that I have not edited. In addition, as far as conditional installation, the "Install before feature selection" option is checked (this was default selection).
When I run the setup.exe on a Windows XP Pro SP2 machine with no other version of .NET installed, the engine detects that the prerequisite conditions have been satisfied, and I get prompted with the following:
However, when I run the setup.exe on a Windows XP Pro SP2 machine with .NET 2.0 SP2 installed, I am not presented with this dialog, and the installer proceeds to the InstallShield wizard. But, this only happens the first time I invoke setup.exe. On subsequent invocations, I am prompted to install .NET Framework 3.5 SP1, as expected.