Hi AI,
I have an installer created from an Advanced Installer 9.9 project file (64-bit AMD64; Requires Elevated privileges; Single MSI output) that was upgraded to AI 22.
Took a little bit of tweaking, but everything now builds and I have a single msi file which installs and runs a few of the custom actions to "Launch a file" before completing.
Logging in and using an account of the "Administrators" group, everything seems to be somewhat fine (Registry entries created, files copied, a post installation custom action run and modified some program .config files, registered to Uninstall, etc.)
However, for the Uninstallation of EITHER the 9.9 's .msi and AI 22's .msi, ( launched from Settings (or Control Panel) -> Programs -> Uninstall), it will start up, prompt for elevated rights to make modifications to the system (which is affirmed), then begins the uninstallation dialog, but eventually errors out with:
----
There is a problem with this Windows Installer package. A script required for this install to complete could not be run. Contact your personnel or package vendor.
----
However, if I launch a command prompt with Admin privileges and run "msiexec /x my-installer.msi", the uninstallation runs just fine.
I'm hoping someone can provide some direction on what the issue may be that elevating privileges from the uninstall doesn't seem to do something correctly.
TIA
-Corey
SourceGear
FOLLOW US