Default Installation Location?

Started by dglienna, April 21, 2005, 08:50:31 PM

Previous topic - Next topic

dglienna

Thanks, again.. It is compiling right now, so I guess =Yes works.  

admin

dglienna,
 
It is not in InnoScript it is in Inno Setup (jrsoftware.org). Put the parameter in the [Setup] section. You will need to add it to the script or create a template file that will add it each time you run InnoScript to create a new script.

dglienna

Where do I make that change? I don't see it in the your program, or in the script.
 
Thanks for your help, btw.

admin

dglienna,
 
Now I see. You DO NOT want Inno Setup to prompt for a location to install. You want it to default to a location?
 
Use
 
DisableDirPage = Yes
 
I looked in the Inno Setup help section and found this:
 
 
[Setup]: DisableDirPage
 
Valid values:   yes or no  
Default value:   no  
 
Description:  
If this is set to yes, Setup will not show the Select Destination Location wizard page. In this case, it will always use the default directory name.

dglienna

Inno 5.0.8
 
When installing the file, it started prompting for a location, and shows (default).  see the bmp

admin

dglienna,
 
No, What version of Inno Setup are you using? There is nothing in your script to stop this. Maybe your Inno Setup installation is corrupt?

dglienna

the problem is that it is prompting for a place to install it.  is it caused by the v 1.0 ?

admin

dglienna,
 
Change
 
DefaultDirName={pf}Tracking Data V1.0
 
to
 
DefaultDirName={pf}Tracking Data

dglienna

I thought in an old version, the installer wasn't prompting us for the installation location.  Now it seems to be.  What did I do wrong, or what do I have to do to change it.  I want it to load in \program files\tracking data