Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Installling under Windows Vista
Message
 
À
01/03/2007 19:14:15
Information générale
Forum:
Visual FoxPro
Catégorie:
Installation et configuration
Divers
Thread ID:
01200159
Message ID:
01200195
Vues:
37
>Wooo hooo. Trying to install under Vista. And of course running into issues with security. There are a couple 3rd party DLLs we use. I install them thru our program, rather then the installation routine for various reasons.
>
>The current process 1) checks the registry to see if these controls have been registered 2) If not, it copies the Dlls to \Windows\System32 3) Registers them with Regsvr32.
>
>So far I've encountered the following error:
>- The program fails on the copy. This is the command used:
>Copy dll\Dllname to Getenv("WINDIR")+"\SYSTEM32\Dllname"
>

I've run into this same problem. With UAC on and not running as an Admin you will not be able to register a DLL. This requires Admin priviliges... there's really no way around this.

Copying to System32 also isn't going to work for the same reason - normal users have no rights there. I would think there's no reason to copy to the SYSTEM32 directory for a COM object anyway.

The best thing to do is to register as part of the main installation.


I'm also struggling with similar problems. I have some components that need special registration using .NET COM Registration and that also doesn't work for the same reason and I can't get the installer I'm using to do it for me.

Another one: My app auto-updates itself by downloading updates and hotswapping itself - that no longer works either since I'm unable to write the update file and then overrwrite the oringal EXE. The only way for now is to force the user to do this manually - download the file, then pop up a dialog with instructions to run in Admin mode.

It sucks, but it makes sense.

Really not a Vista issue since this is would be a typical IT scenario as well with XP...
+++ Rick ---

West Wind Technologies
Maui, Hawaii

west-wind.com/
West Wind Message Board
Rick's Web Log
Markdown Monster
---
Making waves on the Web

Where do you want to surf today?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform