Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Inno - last directory
Message
De
26/12/2008 20:42:33
 
 
À
25/12/2008 21:31:22
Dragan Nedeljkovich (En ligne)
Now officially retired
Zrenjanin, Serbia
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Versions des environnements
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Divers
Thread ID:
01369732
Message ID:
01369819
Vues:
9
UsePreviousAppDir is not in my scripts. I didn't even know about its existence. Still my setups show the behavior you want. So you might try to omit it. (But I still use 5.1.9, so it may indeed be a bug in the newer version.) I also saw that I use true/false instead of yes/no. I assume both are valid.

>Using Inno 5.1.11, with script like this:
>
>
>[Setup]
>AppName=MyApp
>AppVerName=1.2.3
>AppPublisher=MyAppCo
>AppPublisherURL=http://www.MyApp.com
>AppSupportURL=http://www.MyApp.com
>AppUpdatesURL=http://www.MyApp.com
>DefaultDirName={pf}\MyApp.1
>AllowNoIcons=yes
>OutputBaseFilename=SetupMyApp1.2.3
>OutputDir=M:\RAD\MyAppCo\MyApp1\MyBuilds\_2JK18G30M\exe
>UsePreviousAppDir=yes
>Compression=lzma/max
>VersionInfoVersion=5.2.31
>SolidCompression=yes
>CreateUninstallRegKey=no
>DirExistsWarning=no
>
>The problem is that it always wants to run the setup in c:\program files\myapp.1 directory, even when I run the same SetupMyApp1.2.3.exe twice. With some other setups I've built with older versions of Inno there was no problem of this kind, at least not that I remember.
>
>I tried omitting the DefaultDirName but it's a mandatory thing. Is there a way to get this to work, short of messing with the registry? Inno says it would write the directory into directory anyway, but it didn't (I checked). Anyone know what's up?
Groet,
Peter de Valença

Constructive frustration is the breeding ground of genius.
If there’s no willingness to moderate for the sake of good debate, then I have no willingness to debate at all.
Let's develop superb standards that will end the holy wars.
"There are three types of people: Alphas and Betas", said the beta decisively.
If you find this message rude or offensive or stupid, please take a step away from the keyboard and try to think calmly about an eventual a possible alternative explanation of my message.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform