Hello Catalin, happy New Year! I removed the workaround and can now confirm that the problem is gone and AI works as expected. Thank you once more for your help!
Hello Catalin, sorry, that was my fault. The "Save" line in your sample code line was scrolled out of view...
I integrated the workaround in our CI/CD pipeline, and after some fighting against msbuild and PowerShell syntax, I can say that it now works :) Can you please add a message to this thread ...
Hello Catalin, thanks for the workaround. Unfortunately it didn't work for me. This may be because I have two configurations in my aip project, or maybe a SaveProject call should be inserted into the script (but there seems to be no SaveProject function).
Hi, in my CI/CD process, i change the required version number in the *.aip file to the version that is available on the CI/CD system. To achieve this, I use the following command lines:
advinst /edit ..\DBM_Setup.aip /UpdatePrerequisite "Visual C++ Redistributable for Visual Studio 2015-2022 x86 ...
I find the information on registering a COM server a bit confusing. My situation is as follows: The program which the installer installs is an exe file which contains a COM server (and more). To register or unregister the server, the program must be launched with the /RegServer or /UnregServer ...
Hello Catalin, thank you, but that doesn't solve the problem. Those installer projects are too much different to be created from a common template. Is there no way to share the code and UI across projects? I mean, something like you can share C++ code by means of a lib file, or in binary form as a ...
I created some rather complex functionality in an installer which includes GUI logic as well as embedded and external PowerShell scripts. I want to copy this functionality to other installers. If it were only one, I'd copy/paste the stuff, but in the end there will be 5 or more installers which need ...
I found a solution. If you know a more elegant one, please comment. I followed https://www.advancedinstaller.com/user-guide/qa-property-value-localize.html to create a property (e.g. MESSAGE_FILENOTFOUND) which holds the message text ("File not found"), and to add translations for this string in ...
localizing messages in AI is relatively easy. But what if the message originates in a user action? I created a few PowerShell scripts which may return error or other messages, and I'd love to use AI's localization mechanism so that I have all translated strings in the same dictionary file. How ...
there are lots of articles about how to create a desktop shortcut to the installed application, and this works fine. However, how do I make the creation of the shortcut depend on the user's decision?
I added a checkbox with label "Create desktop icon" to the VerifyReadyDlg and linked it to the ...
I found a solution. I am posting this here for reference. Or maybe someone finds a more elegant way...
Since the prerequisite has two conditions (I don't know why, but this is how AI created it), I issue two UpdatePrerequisite commands, one for each condition. (See screenshot in my previous comment ...