I would like to create an installer like Dropbox has. It will install the application in %APPDATA% and if the user is not able to get admin rights the shell extension part of the installer will not be installed. Dropbox is able to detect that admin rights
are missing and inform the user about the consequence. This would be great, but not a showstopper.
I've tried in standard Burn and split my application into two different MSI. The reason was that I thought the vital="no" would help me. Here is most of the boostrapper setup.
<PackageGroupRef Id="NetFx40ClientWeb" />
<RollbackBoundary Id="DotNetInstalled" Vital="yes" />
<MsiProperty Name="INSTALLLOCATION" Value="[InstallFolder]" />
<MsiProperty Name="LAUNCH_APP" Value="[AutomaticMsiLaunch]" />
<RollbackBoundary Id="MyAppInstalled" Vital="yes"/>
DisplayName="My Shell Extension"
<RollbackBoundary Id="ShellExtInstalled" Vital="no" />
When I run the bootstrapper it asks for admin rights and if I deny admin rights, the whole application fails - even though the MyShellExt.msi is defined as non-vital. I've verified that if I drop the ShellExt part, it will install correctly without the need
for admin rights.
Is this possible to implement med with Extended Bootstrapper Application or the standard WiX bootstrapper?
I have tried to experiment with setting different RollbackBoundary, but no success.