Hello,
I've been using the Advanced Installer for years, and currently use version 15.5.1 for building the installer for my app.
I am now consistently getting a prompt to restart my computer if I install the app and then uninstall it. I turned on verbose logging, and the updater.exe is not able to be deleted by the uninstaller, and is causing a reboot to be scheduled. Here are the relevant events from the log file:
...
MSI (s) (A4:DC) [16:33:20:353]: Executing op: SetTargetFolder(Folder=C:\Program Files (x86)\xxxx\My App Client\)
MSI (s) (A4:DC) [16:33:20:353]: Executing op: FileRemove(,FileName=MyAppUpdater.exe,,ComponentId={E445CAEF-DAC5-4ABB-9C25-B6250D622930})
MSI (s) (A4:DC) [16:33:20:356]: Verifying accessibility of file: MyAppUpdater.exe
MSI (s) (A4:DC) [16:33:20:356]: Verifying accessibility of file: MyAppUpdater.exe
MSI (s) (A4:DC) [16:33:20:357]: Using source file security for destination.
MSI (s) (A4:DC) [16:33:20:357]: Note: 1: 2318 2: C:\Config.Msi\32ff0.rbf
MSI (s) (A4:DC) [16:33:20:360]: Note: 1: 2329 2: 32 3: C:\Program Files (x86)\xxx\My App Client\MyAppUpdater.exe
MSI (s) (A4:DC) [16:33:20:360]: Verifying accessibility of file: MyAppUpdater.exe
MSI (s) (A4:DC) [16:33:20:367]: Note: 1: 2318 2:
MSI (s) (A4:DC) [16:33:20:372]: Note: 1: 2318 2:
MSI (s) (A4:DC) [16:33:20:372]: Executing op: SetTargetFolder(Folder=C:\Program Files (x86)\xxx\My App Client\Utilities\)
MSI (s) (A4:DC) [16:33:20:372]: Executing op: FileRemove(,FileName=winsat_runtest.exe,,ComponentId={19CC5CAC-97D7-4E49-8FCF-B464A3A025DC})
Info 1903. Scheduling reboot operation: Deleting file C:\Program Files (x86)\xxx\My App Client\MyAppUpdater.exe. Must reboot to complete operation.
MSI (s) (A4:DC) [16:33:20:375]: Verifying accessibility of file: winsat_runtest.exe
MSI (s) (A4:DC) [16:33:20:380]: Note: 1: 2318 2:
MSI (s) (A4:DC) [16:33:20:388]: Note: 1: 2318 2:
MSI (s) (A4:DC) [16:33:20:391]: Executing op: SetTargetFolder(Folder=C:\Program Files (x86)\xxx\My App Client\)
...
Do you have any insight into why there seems to be a lock on the updater.exe file? I can provide the aip file, but would rather do that privately.
Thanks,
Nathan
FOLLOW US
Get the latest news in Application Packaging