PDA

View Full Version : Setup Builder and System Center Updates



NewsArchive
05-29-2013, 01:08 AM
I have a SetupBuild exe that is distributed via System Center.

In the last revision of my "setup", when it replaced a couple of DLLs,
it appears it did not give access rights to the end user.

The user has read/execute access to the folder (and the previous DLLs)
but the access to the DLLs has been changed - not sure why either since
this is about the 5th release of this setup.

How can I assure that the setup at least inherits the user access rights?

Paul MacFarlane

NewsArchive
05-29-2013, 01:08 AM
Paul,

>
> How can I assure that the setup at least inherits the user access rights?
>

http://msdn.microsoft.com/en-us/library/windows/desktop/aa363851(v=vs.85).aspx

In most cases, you have to "reset" the user rights. Security resource
properties for the existing file are not copied to the new file.

Friedrich

NewsArchive
05-29-2013, 02:19 AM
Friedrich,

In this case a previous version of my install tool installed the DLLs.
They are just being updated.

They are COM controls. In my script I unregister them before the new
ones are copied.

Is it possible they are not getting properly unregistered?

paul

NewsArchive
05-29-2013, 02:19 AM
Paul,

I don't think that it is related to a COM unregistration process. The user
access rights are stored at "file-level" and not in the Windows registry.

Also make sure that the files are not in-use during the update process. If
you have to reboot the machine then this will also "clear" the user access
rights.

Friedrich