Link to home
Start Free TrialLog in
Avatar of Iys
Iys

asked on

Error 1926 on Windows 7

Hi,
I have a problem that occurred only in some Win 7 Ultimate systems.
In my setup is suppose (among others) to copy files to the  "Program Files" & "System32" directories.
The problem occurred when the setup try to copy files to the "System32" directory.
The install shield raise this error message box:
"Error 1926. Could not set file security for file C:\Windows\system32\, Error: 0. Verify that you have sufficient privileges to modify the security permissions for this file. "

I run the setup "As Administrator", run it when logged on as the user administrator, and still get this error every time I ran the setup.

As I write in the beginning this is only happens in some Windows 7 ultimate 32-bit system, on other system (xp, server 2003,vista,server 2008 including on most win 7 systems) it works fine.

I'm compiling the setup with InstallShield 2008 - Professional
Avatar of jmcmunn
jmcmunn
Flag of United States of America image


A few questions:

Are you putting any files into system directories?

Are you using any static paths for your components, rather than using the Installshield properties for paths?

Are you creating new directories outside of Program Files when installing?

We might be able to better diagnose with a few more details.

thanks.
Avatar of Iys
Iys

ASKER

hi jmcmunn,
I'm coping some files to the system32 ([SystemFolder]) and system32\drivers ([SystemFolder]Drivers) directories (I have to, I'm installing my drivers). The error occurred at the start of the coping process of these files. Its only happened on the files that should be copied to the the System32 directory, the other files (to INSTALLDIR ) are coping successfully (those who come before the system32's files).

I don't use static path, only Installshield properties.
I'm creating only one directory in the Program Files directory .

thanks in advanced.

Sounds like things should work ok then (as they do on the other machines).  have you tried running with a verbose installation log while installing on the machine that fails?

http://support.microsoft.com/kb/223300

Maybe that will provide some more insight.
ASKER CERTIFIED SOLUTION
Avatar of Iys
Iys

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial