Property Substitution When Uninstall Through Control Panel - Advanced Installer Community

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!

sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Property Substitution When Uninstall Through Control Panel

I have a Custom Action to set a property on the CostInitialize action with Formatted Text:

[APPDIR]XMRuntime\VSDFxConfigFile.xml


When I install or uninstall via maintenance mode the property is set as expected to:

MSI (s) (B8:FC) [19:28:29:189]: PROPERTY CHANGE: Adding VSDFxConfigFile property. Its value is 'C:\Program Files\Cicero Inc\XMRuntime\VSDFxConfigFile.xml'.

When I uninstall through the Control Panel I lose a backslash:

MSI (s) (B8:10) [19:25:21:899]: PROPERTY CHANGE: Adding VSDFxConfigFile property. Its value is 'C:\Program Files\Cicero IncXMRuntime\VSDFxConfigFile.xml'.

Any ideas how to make the uninstall through Control Panel work without using a 2nd Custom Action?

Scott
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Property Substitution When Uninstall Through Control Pan

Hi Scott,

Have you tried moving the custom actions after CostFinalize standard action?

Regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube
sjeslis
Posts: 308
Joined: Mon Aug 22, 2011 11:40 pm
Contact: Website

Re: Property Substitution When Uninstall Through Control Pan

Bogdan,

That seemed to fix it it. Thanks!

Scott
Scott Jeslis
Senior Software Engineer
Cicero, Inc.
Bogdan
Posts: 2796
Joined: Tue Jul 07, 2009 7:34 am
Contact: Website

Re: Property Substitution When Uninstall Through Control Pan

My pleasure Scott.

Best regards,
Bogdan
Bogdan Mitrache - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”