Framework 3.5SP1 install in per-user installer
Posted: Mon May 17, 2010 1:09 pm
Hi,
We built an installer that target a per user install (allusers=false) but still requires the target machine to have .NET 3.5SP1.
What we expect is that a user that already has the .NET will be able to install the app without any admin rights and a user who doesn't will be prompt for admin rights to install the .NET components but not our app.
The result is that .NET 2.0SP2 and 3.0SP2 behaves as expected and prompt the user for permission to install (UAC is on). then the .NET is installed for all users and our app only for the current user... perfect!
But when trying to install 3.5SP1, I get an error message that tells me that I don't have the permissions to install this component... then the installer fails. I does not trigger the UAC to ask me for permission
What can I do in order to make this work?? I tried to specify allusers=true at the beginning of the 3.5sp1 script and even added allusers=1 inside the install MSI script entry to trigger the UAC to react but nothing helped.
one more thing: ideally, the installer would ask only for one permission prompt at the beginning of the .NET setup and install all of them without asking again. Is there a way to do that?
It is really critical for us since our customer start to think we don't know how to build an installer (which is partly true of course!)
Any help, ideas would be great.Thanks a lot!
PS:We are using IA9
We built an installer that target a per user install (allusers=false) but still requires the target machine to have .NET 3.5SP1.
What we expect is that a user that already has the .NET will be able to install the app without any admin rights and a user who doesn't will be prompt for admin rights to install the .NET components but not our app.
The result is that .NET 2.0SP2 and 3.0SP2 behaves as expected and prompt the user for permission to install (UAC is on). then the .NET is installed for all users and our app only for the current user... perfect!
But when trying to install 3.5SP1, I get an error message that tells me that I don't have the permissions to install this component... then the installer fails. I does not trigger the UAC to ask me for permission
What can I do in order to make this work?? I tried to specify allusers=true at the beginning of the 3.5sp1 script and even added allusers=1 inside the install MSI script entry to trigger the UAC to react but nothing helped.
one more thing: ideally, the installer would ask only for one permission prompt at the beginning of the .NET setup and install all of them without asking again. Is there a way to do that?
It is really critical for us since our customer start to think we don't know how to build an installer (which is partly true of course!)
Any help, ideas would be great.Thanks a lot!
PS:We are using IA9