Fixed file folder

Started by Randem, July 09, 2007, 09:50:16 PM

Previous topic - Next topic

Randem

I gave you that directive in the second post...

tarablue

Hello,
 
I did use InnoScript for this but when you run the compiled program the page that allows this to be changed still comes up.  The DisableDirPage=Yes stops it showing up, which is what I needed.
 
Thank You

Randem

That would fix the folder and not allow it to be changed as asked. If you wanted to know how to set the folder location in the first place that is a different directive and it is  
 
[Setup]
DefaultDirName=your installation folder
 
 
Why didn't you use InnoScript to do all that for you?

tarablue

Hello,
 
Yes I tried that and it didn't work, but I had a think on it and it doesn't matter what name is used in the Start Up menu, it's the directory where the program sits that's important.  Changes here would make part of my program to not function.
 
Thank you anway.
Tarablue

Randem

Just add the one line statement goes in the [Setup] Section...
 
[Setup]
DisableStartMenuFolderPage=Yes

tarablue

Hello,
 
It took a while but I found where to put code.  Now how about the Start Menu Folder Name.  I tried;
 
[Setup]:DisableStartMenuFolderPage=yes
 
and variations on the wording without success.  Can this be stopped as well?
 
Tarablue}
 
(Message edited by Tarablue on July 09, 2007)

Randem

Yes you can use this directive in the [Setup] Section.
 
[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.

tarablue

Hello All,
 
InnoScript Ver. 7.0
In the PDW of VB6 you can fix the folder where your program will reside and not allow it to be changed, can this be done in InnoScript?
 
Tarablue