.net Installer Class Action and Paths as Parameter - 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!

pachwald
Posts: 11
Joined: Wed Oct 18, 2006 3:01 pm

.net Installer Class Action and Paths as Parameter

Hi!

I have a .net installer class action added to my project. In the custom action's action data, I added a parameter source_path and value [OriginalDatabase].

After getting some strange error messages which seem to occur when a backslash character stands at the end of a parameter (like [SourceDir]), I discovered the following:

When I start the setup from the network, the first backslash of the network name gets lost. [OriginalDatabase] becomes \Build\Setups\setup.msi instead of \\Build\\Setups\setup.msi

Any idea what happens here? Maybe a .net framework bug in System.Configuration.Install.Installer or in InstallUtil.exe?

Cheers,
Alex
gigi
Posts: 2103
Joined: Tue Apr 11, 2006 9:55 am
Contact: Website

Hi Alex,

Please try to enclose the [OriginalDatabase] property into quotes. Please let me know if the problem persist and also the AIP file (or a small similar test case) will be helpful.

Best Regards,
Gigi
______________
Gheorghe Rada
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”