Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Installation require administrator privileges
Message
De
24/11/1999 09:13:58
 
 
À
24/11/1999 09:02:17
Information générale
Forum:
Visual FoxPro
Catégorie:
Problèmes
Divers
Thread ID:
00294928
Message ID:
00294969
Vues:
25
>>
>>You don't have to - install under the Administrator account, which has the necessary privileges, and drop a shortcut to your app on the AllUsers Desktop or in the AllUsers StartMenu - as long as the users have the necessary privileges in the directories the app needs, they should be able to access the runtimes installed via the Administrator account.
>
>
>I understand that, but what I really want is that the user execute the setup himself. For this application, I have maybe 10 NT users and for others apps. I have more and the user are far away for each others.

Then you'll have to hack the .STF file to not check security and run the risk of dealing with the failures that can result from having an unprivileged user try to update WinNT's common directories or registry if NT doesn't permit it, and then you have no choice but to have the install done under the Administrator account or change the user's privileges...seems like it'd be easier to just tell the user "You must be logged in as Administrator or an equally privileged account.

You can also use another tool to do the install - you can download the VS Installer from http://msdn.microsoft.com/vfoxpro - I don't have any experience with the tool to know if it handles the issue any better. InstallShield Pro gives me complete programmatic control (it is a complete language for installation) of the install process if I want it, but it isn't free or cheap. InstallShield Express should be able to handle VFP app installs; I beleive there are FAQ entries here that outline the needed files for inclusion, and it costs a whole lot less than Pro, with a stronger installation capability than Setup Wizard provides.
EMail: EdR@edrauh.com
"See, the sun is going down..."
"No, the horizon is moving up!"
- Firesign Theater


NT and Win2K FAQ .. cWashington WSH/ADSI/WMI site
MS WSH site ........... WSH FAQ Site
Wrox Press .............. Win32 Scripting Journal
eSolutions Services, LLC

The Surgeon General has determined that prolonged exposure to the Windows Script Host may be addictive to laboratory mice and codemonkeys
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform