PDA

View Full Version : Registering OCX issues...



binspoonal
06-30-2005, 09:34 PM
Howdy,

I've finished my build and everything is swell except for one thing... This installation is going to be done on computers with "user" rights. My install includes one OCX file that needs to be registered. I know you can set the file to register in the file properties within the setup foactory, but that doesnt work.. Thing is, only admin's to the machine can write to the registry... Any ideas?

pww
07-02-2005, 04:13 PM
I don't think any installer can do something that the user running the installer is not allowed to do.
Depending on how the 'user' rights are configured, the user (so your installer) may not be allowed to write to \Program Files, \System32 etc., or anywhere outside
\Documents and Settings\<username>\
, and such restrictions are normal for 'user' accounts.

There is an option in Settings/System Requirements to require admin rights.
Probably you can also detect the user rights yourself through scripting and display a more informative message to the user.

Adam
07-04-2005, 01:28 PM
Setup Factory 7.0 cannot override user permissions on a system. The User accounts are in place to protect the system from damage. This is built into the Windows OS so there is no workaround. You will find that it is quite common that an Admin has to install software on machines.

Adam Kapilik