Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Temp files
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Titre:
Divers
Thread ID:
00236884
Message ID:
00285023
Vues:
17
>>Sorry, I was being too vague. I wanted to set the temp dir in my config.fpw and I have this:
>>TMPFILES = GETENV("TEMP")
>>but it doesn't work.
>
>Nope, it won't work. That's why I mentioned the post setup executable. Peresonally, my post setup, which writes the configuration file, uses the directory that the executable's placed in for the temp. Once the application is installed, however, it has to be done by modifying the config (if it's not built in).

This *is* my post-setup executable. I use the VFP Setup Wizard to get the app where the user wants it and register the TreeView, then they run my post-setup executable from the CDROM, which is a form-in-a-exe-wrapper to ask them where they just installed the app so Registry values can get written, etc. However, this executable for some reason wants to write to the HD in the same directory as the .EXE, no matter what. My current working kludge is to have the user dbl-click on a .BAT that copies the contents of the \setup2 directory to %temp% and then run the .exe from there. Stupid and ugly but it works.

I have InstallShield for VC++ from Visual Studio 6 but that's a whole mess unto itself (where's the tutorial?!).

I'm open to all kinds of suggestions.....

:)
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform