Search found 109 matches

Go to advanced search

by hsc
Thu Jan 08, 2026 3:24 pm
Forum: Common Problems
Topic: Why does this change my installer type to exe?
Replies: 12
Views: 1946
 
Jump to post

Re: Why does this change my installer type to exe?

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!

Cheers, Hans
by hsc
Thu Dec 18, 2025 10:47 am
Forum: Common Problems
Topic: Why does this change my installer type to exe?
Replies: 12
Views: 1946
 
Jump to post

Re: Why does this change my installer type to exe?

Hi Catalin,

thank you for the notice. I will test it as soon as I find a time slot... probably only next year!

Cheers
Hans
by hsc
Wed Nov 12, 2025 10:08 am
Forum: Common Problems
Topic: Why does this change my installer type to exe?
Replies: 12
Views: 1946
 
Jump to post

Re: Why does this change my installer type to exe?

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 ...
by hsc
Thu Nov 06, 2025 8:54 am
Forum: Common Problems
Topic: Why does this change my installer type to exe?
Replies: 12
Views: 1946
 
Jump to post

Re: Why does this change my installer type to exe?

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).

This is the script which I am using (mostly ...
by hsc
Wed Nov 05, 2025 7:48 am
Forum: Common Problems
Topic: Why does this change my installer type to exe?
Replies: 12
Views: 1946
 
Jump to post

Re: Why does this change my installer type to exe?

Hi Catalin, thank you for looking into this. I am looking forward to the follow-up!

Best, Hans
by hsc
Mon Nov 03, 2025 2:52 pm
Forum: Common Problems
Topic: Why does this change my installer type to exe?
Replies: 12
Views: 1946
 
Jump to post

Why does this change my installer type to exe?

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 ...
by hsc
Tue Oct 14, 2025 3:38 pm
Forum: Common Problems
Topic: COM EXE Server reister/unregister
Replies: 3
Views: 1493
 
Jump to post

Re: COM EXE Server register/unregister

Hi Catalin, thank you for your reply. This does the trick. But how do I unregister the server during uninstallation?

Best
Hans
by hsc
Mon Oct 13, 2025 3:49 pm
Forum: Common Problems
Topic: COM EXE Server reister/unregister
Replies: 3
Views: 1493
 
Jump to post

COM EXE Server reister/unregister

Hi,

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 ...
by hsc
Tue Feb 11, 2025 1:30 pm
Forum: Common Problems
Topic: Cloning functionality
Replies: 3
Views: 9624
 
Jump to post

Re: Cloning functionality

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 ...
by hsc
Wed Feb 05, 2025 3:59 pm
Forum: Common Problems
Topic: Cloning functionality
Replies: 3
Views: 9624
 
Jump to post

Cloning functionality

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 ...
by hsc
Wed Jan 22, 2025 9:50 am
Forum: Common Problems
Topic: Localization of script messages
Replies: 2
Views: 3948
 
Jump to post

Re: Localization of script messages

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 ...
by hsc
Tue Jan 21, 2025 1:53 pm
Forum: Common Problems
Topic: Localization of script messages
Replies: 2
Views: 3948
 
Jump to post

Localization of script messages

Hi,

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 ...
by hsc
Thu Jan 16, 2025 3:57 pm
Forum: Common Problems
Topic: Conditionally creating a shortcut
Replies: 3
Views: 4123
 
Jump to post

Re: Conditionally creating a shortcut

Thanks Liviu! Works like a charm... once I know it!
by hsc
Thu Jan 16, 2025 12:43 pm
Forum: Common Problems
Topic: Conditionally creating a shortcut
Replies: 3
Views: 4123
 
Jump to post

Conditionally creating a shortcut

Hi,

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 ...
by hsc
Wed Jan 08, 2025 4:38 pm
Forum: Common Problems
Topic: Command line question: UpdatePrerequisite
Replies: 9
Views: 9912
 
Jump to post

Re: Command line question: UpdatePrerequisite

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 ...

Go to advanced search