|
| DefaultDirName IN inno |
 |
Fri, 28 Mar 2008 13:49:09 +010 |
Hi,
I want the following: at first installation my Inno-setup has to tell
the customer an installtion directory I write into the property
DefaultDirName. At second installation on same PC (update) it should use
a value from registry, which tells Inno, where the software is allready
installed.
I have no idea, how to do that. Any suggestions?
Kind Regards
|
| Post Reply
|
| Re: DefaultDirName IN inno |
 |
Sat, 29 Mar 2008 02:47:10 -040 |
In article <T$uKwTNkIHA.1588@news-server>,
ihrSpamHeinisKoenntMichMal@amA.de says...
> Hi,
>
> I want the following: at first installation my Inno-setup has to tell
> the customer an installtion directory I write into the property
> DefaultDirName. At second installation on same PC (update) it should use
> a value from registry, which tells Inno, where the software is allready
> installed.
>
> I have no idea, how to do that. Any suggestions?
>
> Kind Regards
> Jan Bleiss
>
Jan,
If you check the on-line help of Inno Setup, what you want is the
default behaviour:
DefaultDirName
Description:
The value of this required directive is used for the default directory
name, which is used in the Select Destination Location page of the
wizard. Normally it is prefixed by a directory constant.
If UsePreviousAppDir is yes (the default) and Setup finds a previous
version of the same application is already installed, it will substitute
the default directory name with the directory selected previously.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
|
| Post Reply
|
| Re: DefaultDirName IN inno |
 |
Sat, 29 Mar 2008 12:02:37 +010 |
Hi Geoff,
I'll check that. The problem I have: because of some Vista-Problems I
changed the DefaultDirName from c:\programme\apas\fsm to c:\fsm. Since
that my customers everytime, when they install an update, receive c:\fsm
. Since not any customer reads, what he does, my updates fire into
wrong direction...
Kind Regards
|
| Post Reply
|
| Re: DefaultDirName IN inno |
 |
Sun, 30 Mar 2008 00:43:14 -040 |
In article <Hh2G08YkIHA.1336@news-server>,
ihrSpamHeinisKoenntMichMal@amA.de says...
> Hi Geoff,
>
> I'll check that. The problem I have: because of some Vista-Problems I
> changed the DefaultDirName from c:\programme\apas\fsm to c:\fsm. Since
> that my customers everytime, when they install an update, receive c:\fsm
> . Since not any customer reads, what he does, my updates fire into
> wrong direction...
>
> Kind Regards
> Jan
Jan,
New Windows security wants you to install in "c:\Program Files" or the
equivalent in your language version of Windows. Inno Setup has the
Directory Constant which you can use and it will install correctly
in an language version of Windows.
--
Geoff Wass [dBVIPS]
Montréal, Québec, Canada
.|.|.| dBASE info at http://geocities.com/geoff_wass |.|.|.
.|.|.| ---------------------------------------------------------- |.|.|.
|
| Post Reply
|
| Re: DefaultDirName IN inno |
 |
Sun, 30 Mar 2008 14:20:38 +020 |
Hi,
> At second installation on same PC (update) it should use a value from
> registry, which tells Inno, where the software is allready installed.
---
Inno already know where your software is installed by user first tim at
updates .. ???
Only if you change the SETUP->AppID (AppName as DEFAULT) entry than it is a
new app for Inno and than give problem so Inno dont know the first entries
make by user....
cu
Jonny
|
| Post Reply
|
|
|
|
|
|
|
|
|
|