Page 2 of 2
Re: Reboot after .Net Framework 4
Posted: Fri Nov 18, 2011 12:37 pm
by giaviv
No problem - the best way to do so is to use the MessageBox command - just begin typing MessageBox at the line of MSIcode in which you wish it to be created.
Then, in the body of the MessageBox, enter the variable name surrounded by $ - for example, $VARIABLE$
Re: Reboot after .Net Framework 4
Posted: Thu Aug 02, 2012 5:02 am
by ManuelPöter
Hi,
I have the same issue here. The DOTNET40CLIENT_RESULT_X64 variable is set to SUCCESS. However, when I install the netfx_core_x64.msi directly via msiexec netfx_core_x64.msi VSEXTZUI=1 TRANSFORMS=netfx4_aip.mst I get a dialog that asks if I want to reboot now. If I say no, the process exits with errorlevel 3010 which is ERROR_SUCCESS_REBOOT_ REQUIRED.
Any ideas how to solve this?
We are using InstallAware 9 R2.
Regards,
Manuel Pöter
Re: Reboot after .Net Framework 4
Posted: Fri Aug 03, 2012 7:16 am
by FrancescoT
Dear Manuel,
the returned value "ERROR_SUCCESS_REBOOT_ REQUIRED" is indicative of success. If ERROR_SUCCESS_REBOOT_REQUIRED is returned, the installation completed successfully but a reboot is required to complete the install operation.
So to complete succefully the runtime installation you MUST restart the system and optionally, it could be done at the end of your setup process.
Please refer to Windows Installer Error codes and have a look at the following link:
http://msdn.microsoft.com/en-us/library ... s.85).aspx
Regards.
Re: Reboot after .Net Framework 4
Posted: Mon Aug 06, 2012 8:26 am
by ManuelPöter
Hi,
I figured as much.

However, I am wondering why my InstallAware setup returns "SUCCESS" instead of "REBOOT" when I install the same msi via "Install/Remove MSI package"?
The point is, that we need to install the .NET Framework as a prerequisit to other components which fail to install, if the .NET Framework was not correctly installed (including the reboot).
Regards,
Manuel Pöter
Re: Reboot after .Net Framework 4
Posted: Mon Aug 06, 2012 10:23 am
by FrancescoT
Dear Manuel,
However, I am wondering why my InstallAware setup returns "SUCCESS" instead of "REBOOT" when I install the same msi via "Install/Remove MSI package"?
I'm not quite sure If I follow ... are you using two different runtime packages?
Which one returns " ERROR_SUCCESS_REBOOT_REQUIRED "?
Regards
Re: Reboot after .Net Framework 4
Posted: Tue Aug 07, 2012 1:19 am
by ManuelPöter
Hi,
I'm installing the .NET 4 Client Framework using the runtime setup script provided by InstallAware which contains the following line:
Code: Select all
Install/Remove MSI Package $DOTNET40CLIENT_FILEBAG_X64$\netfx_core_x64.msi[VSEXTUI=1 TRANSFORMS=netfx4_aip.mst] (get result into variable DOTNET40CLIENT_RESULT_X64)
However, the DOTNET40CLIENT_RESULT_X64 variable returns "SUCCESS" instead of "REBOOT".
But when I install the same msi file by hand the process returns ERROR_SUCCESS_REBOOT_REQUIRED.
The question now is, why InstallAware doesn't pick up this return code and sets the variable to REBOOT.
I hope I could clarify it this time.
Regards,
Manuel
Re: Reboot after .Net Framework 4
Posted: Tue Aug 07, 2012 8:08 am
by FrancescoT
.... interesting.
One more question,
- whe you say: "But when I install the same msi file by hand the process returns ERROR_SUCCESS_REBOOT_REQUIRED."
How do you call it?
Regards
Re: Reboot after .Net Framework 4
Posted: Thu Aug 09, 2012 3:06 am
by ManuelPöter
Simply: netfx_core_x64.msi VSEXTUI=1 TRANSFORMS=netfx4_aip.mst
Re: Reboot after .Net Framework 4
Posted: Thu Aug 09, 2012 9:50 am
by FrancescoT
Dear Manuel,
I will try to see what happens on my site as soon as I can.
Regards