View Full Version : Help plz

01-14-2005, 11:17 PM
Hiya, ima really new at this so I dont really know. But would like some help with something, i've loocked all over and dont seem to find anything x-x.

I'm working with ScriptProject, and there is the problem im having is this, i have everything done and working just fine, but it installs just straight into the main folder I set it as. (c:\program files\Comp\Proj). And when a person installs or I, when test it follows as .
Welcome\licence\confirm install\Copy process(install)\Finish menu

but what i need is to have a menu for people to choose the directory to install to, and i dont know how to doit, script seem to have it, but i dont see anything. Is there a way i can set menus to show, order of them and such in ScriptIntall.


01-16-2005, 04:09 AM
What you can do is place a call as following; the code below should be called between the licence and the confirm install sections:

/* you sould have the following definitions in function:
STRING sDestinationDir;
NUMBER nRetVal; */
licence section
// calling the destination path dialog:
nRetVal = SdAskDestPath ( "", "", sDestinationDir, 0 );
// assigning the new path to the installation path:
TARGETDIR = sDestinationDir;
confirm install section
.... You can view the help for SdAskDestPath(..) for a more detailed example.

Hope this helps,


01-16-2005, 04:26 AM
:) Thx for the help