Install VB6 on Windows Vista as a Standard User

I have a VB6 application that needs to be installed on Windows Vista as a standard user. Using Visual Studio 2005, I created an installation project that will put the application in a standard secure location or user folder. I also have a dll that I want to install and register in the user applications data folder. Once my Windows installer was created in VS'05, I flipped the properties of the 3rd bit of words using msiinfo.exe so that Vista would not give out administrator credentials when msi started. The application installs without any problems until it tries to register the dll in the user applications data folder. When it reaches this point, it throws an error stating that it cannot register the type library for the dll. Looks like,that the installer does not have the right to register dll in the users folder. It's right? I realized that Vista only complained about the standard update by users or the change of elements that affect all users of the machine. Any ideas? Thoughts? Suggestions?

+3
source share
6 answers

Steve

My suggestion is that if you can use regfree com / manifest files instead of registering the ocx / dll files, which, as you say, are real work under the main user account.

There is an excellent free application that you can use to create a manifest for you, and also here: http://mmm4vb6.atom5.com/

We have been using this for several years without any problems.

EDIT MMM website does not work. I see here that the author had problems with their hosting and provided another place to get Make My Manifest - download it here .

+4

, , .

, , , , DLL HKEY_CURRENT_USER\SOFTWARE\Classes, , regsvr32.exe HKEY_LOCAL_MACHINE\SOFTWARE\Classes.

, , , , .

+1

- MMM . , Make My Manifest - .

COM . Visual Studio 2008 ( , ​​ Visual Basic Express Edition). , VB6. . MSDN - , ClickOnce.

0

Unattended Make My Manifest - , . script COM.

0

DLL (DLL ) . .

, DLL . , vb6 COM, , , .

-1

Source: https://habr.com/ru/post/1704901/


All Articles