When installing my software on Windows Vista Ultimate 32 Bit, and selecting "C:\Program Files" (a directory that required admin right), the installer start as non-admin, and then request the admin right just before the download (pic Security_Warning). It then crash just after the download when starting the installation (pic Installer_Crash_After_Download).
If I run the installer as administrator before, then the installation succeed.
Here is my installer config:
<?xml version="1.0" encoding="UTF-8"?>
<Installer>
<Name>MyApp</Name>
<Version>3.0.0</Version>
<Title>MyApp Preprod Installer</Title>
<Publisher>My Company</Publisher>
<ProductUrl>https://www.myapp.com</ProductUrl>
<InstallerWindowIcon>installer</InstallerWindowIcon>
<InstallerApplicationIcon>installer</InstallerApplicationIcon>
<Logo>LogoMyApp.png</Logo>
<StartMenuDir>MyApp Preprod</StartMenuDir>
<UninstallerName>MaintenanceTool</UninstallerName>
<AllowNonAsciiCharacters>true</AllowNonAsciiCharacters>
<AllowSpaceInPath>true</AllowSpaceInPath>
<TargetDir>@homeDir@/MyApp</TargetDir>
<RemoteRepositories>
<Repository>
<Url>http://www.mydomain.me/repository_preprod</Url>
<Enabled>1</Enabled>
<DisplayName>MyApp preprod repository</DisplayName>
</Repository>
</RemoteRepositories>
</Installer>