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!

perrin_wolf
Posts: 28
Joined: Mon May 07, 2007 11:16 pm

how to point to files on the CD

I am looking for a way to run a batch file that will point to a SQLexpress install that is on the CD, it is not part of my package. But it is on the CD that has the package. How to I point to a file thats on the CD?

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

Hi,

If the batch file resides next to the MSI package on the CD then you can use SourceDir property to get the the folder where the batch file is located.

To launch the batch file you can use a "Add Predefined Custom Action->Launch File or Open URL" custom action and type "[SourceDir]file.bat" in the "Command Line" field.

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

Return to “Common Problems”