asif0012
Posts: 44
Joined: Tue Nov 22, 2022 6:30 pm

How to create directory same as ProductName in the ProgramMenu to store the shortcuts

Hello,
I want to create a folder with the same name as the "ProductName" property under the "ProgramMenu" folder. The name of the folder will come from the "ProductName" property. I want to keep the shortcuts of the project in this directory.

How can I achieve the above functionality?

Best Regards,
Asif
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: How to create directory same as ProductName in the ProgramMenu to store the shortcuts

Hello Asif,

In order to achieve what you need, we first need to create a property in the "Properties" page, e.g.:
Screenshot_68.png
Screenshot_68.png (1.3 KiB) Viewed 8380 times

We can then create a property based folder based on this property and a "Set property" custom action to set the value of the property to what you need:
Screenshot_69.png
Screenshot_69.png (59.03 KiB) Viewed 8380 times

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: How to create directory same as ProductName in the ProgramMenu to store the shortcuts

Hello Asif,

As a followup, an easier way to achieve what you need is as it follows:
Screenshot_70.png
Screenshot_70.png (52.83 KiB) Viewed 8379 times
Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Building Installers”