Dear Advanced Installer Support,
Please let me report an issue to you, that is a very critical one for use due to our release date, a quick solution would be highly appreciated!
We upgraded to Advanced Installer 12.8 a few days ago to use your latest version for our next release. Our release will happen in the next week. While testing your Advanced Updater mechanism we noticed that EXE packages generated by AI 12.8 cannot be installed by the old versions of our product. (The old version is generated by AI 12.7 back that time.) An error appears in the Advanced Updater dialog right after we click on the "Next" button, the error is saying that the update failed to be installed.
At this point I checked the EventViewer for error messages and I found a Windows Installer error code: 1639 -> Invalid command line arguments. Here are the last few messages of the EventViewer, the first one is the oldest one:
Beginning a Windows Installer transaction: <path to msi>/TheClient.x64.msi. Client Process Id: 1348.
Product: <Product name> -- Installation failed.
Windows Installer installed the product. Product Name: <Product Name>. Product Version: 14.0.1. Product Language: 1033. Manufacturer: <Corporation>. Installation success or error status: 1639.
Ending a Windows Installer transaction: <path to msi>\TheClient.x64.msi. Client Process Id: 1348.
Windows Installer installed the product. Product Name: <Product Name>. Product Version: 14.0.1. Product Language: 1033. Manufacturer: <Corporation>. Installation success or error status: 0.
When seeing this messages I decided to remove the command line arguments from the updates config file. I tried to do it in 2 ways:
1. Manually removed the line of "NoGUICommandLineSwitch = /exenoui /qn" from the updates config file.
2. Found a hint at your webpage to use "aiemptyfield" content in the NoGUICommandLineSwitch field of your Advanced Updater project so I used that string.
Both ways had the same effect on the behavior and partially fixed the original problem:
- Windows Installer error 1639 is gone.
- The new version of our product is successfully installed on the end PC.
- BUT Advanced Updater dialog is never getting dismissed when deleting NoGUICommandLineSwitch or putting aiemptyfield into it. The dialog stays forever on the screen.
Please note that changing the version number of our .aip project back to 12.7.2, opening it by AI 12.7.2 and generating our EXE by that AI version creates a file that can be installed by Advanced Updater without any error messages in the EventViewer. Also we can keep our default
"NoGUICommandLineSwitch = /exenoui /qn"
line in the updates config file, everything runs as expected. That´s the reason why we´re highly confident our problem are caused by AI 12.8.
Could you please try to reproduce this behavior on your side if possible? Please install a product generated by AI 12.7.0 to a PC, then create a single EXE file (+ the corresponding updates config file) by AI 12.8 for the same product and try to install it by Advanced Updater. Hopefully you will see the Windows Installer error in EventViewer.
Due to our release date, this problem is really something we´d need to fix asap!
Please let me know if you have any questions!
Kind regards,
Zsolt
FOLLOW US
Get the latest news in Application Packaging