Custom Actions missing in Visual Studio template - Advanced Installer Community
zeiddev
Posts: 103
Joined: Sat Aug 10, 2013 12:30 am

Custom Actions missing in Visual Studio template

I have created a Visual Studio template making use of the help that I received in this question http://www.advancedinstaller.com/forums ... =5&t=26338. When I run the installer the logic and the functionality works as expected and there are not problems.

However I have now packaged the project into a Visual Studio installer template but the Wizard Dialogs Stage conditions are missing for the four set property custom actions. This is shown in the screenshots.
View from the original project with the conditions in place
View from the original project with the conditions in place
From original AI project.PNG (41.69 KiB) Viewed 2246 times

And the view from creating a Visual Studio project via the template.
View of the project after adding  via Visual Studio template
View of the project after adding via Visual Studio template
From VS project.PNG (40.11 KiB) Viewed 2246 times
It goes without saying that I used the original project file to create the Visual Studio template.

Thanks

David
Daniel
Posts: 8283
Joined: Mon Apr 02, 2012 1:11 pm
Contact: Website

Re: Custom Actions missing in Visual Studio template

Hello David,

I've tested the scenario using Advanced Installer 11.0 but I cannot replicate the behavior. Just to make sure I've fully understood your test case scenario here are the steps I've tested:
- create using AI 11.0 an installation project containing a "Set installer property" custom action with sequence (having a condition) added after "Searches" actions group
- save the project with the following name: AIInstallProject.aip, and follow the instructions on how to create custom Advanced Installer project template for Visual Studio
- open a Visual Studio solution and add a new Advanced Installer project to the solution
- click on [Edit in Advanced Installer] button and, then go to "Custom Actions" page to check the custom action condition

Can you confirm this is your scenario too? If so, can you please send us the .AIP (project file) and a step by step test case to support at advancedinstaller dot com so we can investigate?

All the best,
Daniel
Daniel Radu - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”