Targeting .NET Client Profile 3.5 SP1
Posted: Thu Oct 15, 2009 4:33 am
Hello,
Im evaluating the Installaware studio admin. based on the web info the product is doing exactly what I need but testing it result with different behavior.
I have .NET application for which Im trying to define client profile 3.5 SP1 as pre requisite and to install it over the web.
I have created the script with the studio admin and uploaded the web media blocks to their location.
When Im trying to install on computer with .NET 3.5 SP1 nothing other than my application should be downloaded and installed. The problem is that I'm getting the following error message –
"Microsoft 2.0 client cannot be installed alongside .NET Framework full edition"
Why Installaware tries to install it?
As prerequisite I expected that if the scripts finds that I have already .NET 3.5 it will go directly to install my application.
Do I need to write this bootstrapping script manually? isnt it the pre-requisite build-in logic of the product?
If needed below is the pre-requisite section that was created by Installaware studio -
[DEFINE REGION: Install Application Pre-Requisites]
Comment: Install setup pre-requisites
if Variable PREREQ not Equals FALSE
Comment: Display Dialog: prereq, wait for dialog to return (modal)
if Variable WIZARD Equals CANCEL
Terminate Installation
end
Comment: Display Dialog: progressprereq, use as progress dialog (non-modal)
[compiler if Variable BUILDMODE not Equals PATCH]
if Variable NEEDSUPGRADE Equals TRUE
Set Variable REMOVEOLD to
Set Variable ERROROLD to
Install/Remove MSI Package $PRODUCTCODE$[REMOVE=ALL] (get result into variable REMOVEOLD)
if Variable REMOVEOLD Equals ERROR
MessageBox: $TITLE$ Setup, Unable to uninstall old version of $TITLE$. Please uninstall it yourself using Control Panel Add-Remove Programs before attempting to install this product.$NEWLINE$$NEWLINE$$ERROROLD$
Terminate Installation
end
if Variable REMOVEOLD Equals REBOOT
MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. You will have to run setup again at a later time to install $TITLE$.
if Variable REBOOTNOW Equals OK
Reboot Computer and Resume Setup
else
Terminate Installation
end
end
Set Variable MAINTENANCE to FALSE
end
[DEFINE WEB MEDIA Microsoft Windows Installer 3.1]
Include Script: setupmsi31
[DEFINE WEB MEDIA Microsoft .NET Framework Client 2.0 with Service Pack 2]
Include Script: setupnet20clientsp2
[DEFINE WEB MEDIA Microsoft .NET Framework Client 3.0 with Service Pack 2]
Include Script: setupnet30clientsp2
[DEFINE WEB MEDIA Microsoft .NET Framework Client 3.5 with Service Pack 1]
Include Script: setupnet35clientsp1
[compiler end]
Hide Dialog
end
Im evaluating the Installaware studio admin. based on the web info the product is doing exactly what I need but testing it result with different behavior.
I have .NET application for which Im trying to define client profile 3.5 SP1 as pre requisite and to install it over the web.
I have created the script with the studio admin and uploaded the web media blocks to their location.
When Im trying to install on computer with .NET 3.5 SP1 nothing other than my application should be downloaded and installed. The problem is that I'm getting the following error message –
"Microsoft 2.0 client cannot be installed alongside .NET Framework full edition"
Why Installaware tries to install it?
As prerequisite I expected that if the scripts finds that I have already .NET 3.5 it will go directly to install my application.
Do I need to write this bootstrapping script manually? isnt it the pre-requisite build-in logic of the product?
If needed below is the pre-requisite section that was created by Installaware studio -
[DEFINE REGION: Install Application Pre-Requisites]
Comment: Install setup pre-requisites
if Variable PREREQ not Equals FALSE
Comment: Display Dialog: prereq, wait for dialog to return (modal)
if Variable WIZARD Equals CANCEL
Terminate Installation
end
Comment: Display Dialog: progressprereq, use as progress dialog (non-modal)
[compiler if Variable BUILDMODE not Equals PATCH]
if Variable NEEDSUPGRADE Equals TRUE
Set Variable REMOVEOLD to
Set Variable ERROROLD to
Install/Remove MSI Package $PRODUCTCODE$[REMOVE=ALL] (get result into variable REMOVEOLD)
if Variable REMOVEOLD Equals ERROR
MessageBox: $TITLE$ Setup, Unable to uninstall old version of $TITLE$. Please uninstall it yourself using Control Panel Add-Remove Programs before attempting to install this product.$NEWLINE$$NEWLINE$$ERROROLD$
Terminate Installation
end
if Variable REMOVEOLD Equals REBOOT
MessageBox: $TITLE$ Setup, Your computer needs to be restarted before $TITLE$ Setup can continue.$NEWLINE$$NEWLINE$Please save your work in all running programs and click OK to restart your computer. Setup will resume once your computer restarts.$NEWLINE$$NEWLINE$If you click CANCEL, setup will exit. You will have to run setup again at a later time to install $TITLE$.
if Variable REBOOTNOW Equals OK
Reboot Computer and Resume Setup
else
Terminate Installation
end
end
Set Variable MAINTENANCE to FALSE
end
[DEFINE WEB MEDIA Microsoft Windows Installer 3.1]
Include Script: setupmsi31
[DEFINE WEB MEDIA Microsoft .NET Framework Client 2.0 with Service Pack 2]
Include Script: setupnet20clientsp2
[DEFINE WEB MEDIA Microsoft .NET Framework Client 3.0 with Service Pack 2]
Include Script: setupnet30clientsp2
[DEFINE WEB MEDIA Microsoft .NET Framework Client 3.5 with Service Pack 1]
Include Script: setupnet35clientsp1
[compiler end]
Hide Dialog
end