Randem Systems Support Board

InnoScript => InnoScript - General Questions, Report Bugs, Problems etc... => Topic started by: dglienna on April 21, 2005, 08:50:31 PM

Title: Default Installation Location?
Post by: dglienna on April 21, 2005, 08:50:31 PM
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
Title: Default Installation Location?
Post by: admin on April 21, 2005, 09:06:37 PM
dglienna,
 
Change
 
DefaultDirName={pf}Tracking Data V1.0
 
to
 
DefaultDirName={pf}Tracking Data
Title: Default Installation Location?
Post by: dglienna on April 21, 2005, 09:09:41 PM
the problem is that it is prompting for a place to install it.  is it caused by the v 1.0 ?
Title: Default Installation Location?
Post by: admin on April 21, 2005, 09:15:14 PM
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?
Title: Default Installation Location?
Post by: dglienna on April 21, 2005, 09:39:46 PM
Inno 5.0.8
 
When installing the file, it started prompting for a location, and shows (default).  see the bmp
Title: Default Installation Location?
Post by: admin on April 21, 2005, 09:50:41 PM
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.
Title: Default Installation Location?
Post by: dglienna on April 21, 2005, 09:58:26 PM
Where do I make that change? I don't see it in the your program, or in the script.
 
Thanks for your help, btw.
Title: Default Installation Location?
Post by: admin on April 21, 2005, 10:08:45 PM
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.
Title: Default Installation Location?
Post by: dglienna on April 21, 2005, 10:14:12 PM
Thanks, again.. It is compiling right now, so I guess =Yes works.