We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

TobiWan
Posts: 3
Joined: Tue Aug 15, 2017 12:17 pm

Propertys from Installer in MergeModule

Hi

Is there a way how i can get the ProductName of my Installer in my Merge Module?
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Propertys from Installer in MergeModule

Hello and welcome to our forums,

Yes, you could simply use a reference of ProductName property in your merge module.

Best regards,
Sorin
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
TobiWan
Posts: 3
Joined: Tue Aug 15, 2017 12:17 pm

Re: Propertys from Installer in MergeModule

Hi

Thanks but how?

I want to create a folder with the name of the Installer Productname.

In the Merge Module i create a Folder with Target name [|ProductName].

After Installation the folder has the name "Property not found."
Sorin
Posts: 663
Joined: Mon May 08, 2017 1:03 pm

Re: Propertys from Installer in MergeModule

Hello,

Do you need this folder to be created in APPDIR? If this is the case, you could implement this scenario in the following way:

In your merge module project :
- create a new Property Based folder. You will pe prompt to select a property. Click on "New" button and create a new public property named, for example "FOLDER", with a valid value, for example "c:\"
- create a "Set installer property" custom action with sequence, placed before "User Selection" in "Wizard Dialogs Stage". This custom action should be configured in the following way:

Code: Select all

Property: FOLDER
Value : [APPDIR][ProductName]
Please take a look on the attached merge module sample project configured for this scenario.


Best regards,
Sorin
Attachments
merge module.aip
(3.14 KiB) Downloaded 322 times
Sorin Stefan - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”