Meik Cremer
Posts: 1
Joined: Fri Nov 26, 2004 9:53 am
Location: Germany
Contact: Website

Setting TARGETDIR with VBScript Action

Hi Everyone,

I'm a newbie regarding Windows Installer and I know only a little about dll's :?

Is there any way of setting the TARGETDIR property with a custom action using VBScript? I need to search for an application-folder and want to make this the default installation directory for the user.

I know that there are ways with InstallScript, but I have no idea how to implement these scripts in windows installer :( (as I said, i am a newbie).

Any help is appreciated.
Best Regards
Meik Cremer
http://www.softfab.de
dorel
Posts: 25
Joined: Mon Oct 18, 2004 8:13 am

Hi Meik,
You need a custom scheduled in InstallUISequence table because you want the user see the value you set. The custom actions supported currently in Advanced Installer are sequenced only in InstallExecuteSequence table. In the near future it will possible to schedule custom actions in InstallUISequence table too.
Dorel Pislan
Advanced Installer Team
http://www.advancedinstaller.com

Return to “Common Problems”