Error 1926 on setup created by InstallShield 2008 - windows-7

I'm compiling the setup with InstallShield 2008 - Professional and I have a problem that occurred only in some Win 7 Ultimate systems.
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 (UAC on and off).
As I wrote 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.

Which type of project you are using Basic MSI or Installscript?
I think during file copy to the System32 folder, sometimes Installer will raise exception, because maybe the file already present with higher version and that file may in use by the O.S. Make sure that if files are not present then only copy else do not.

Related

Error Installing VS.net 2003 on a Windows 2012 R2 Server

For various reasons, I have to install VS.Net 2003 on a 2012 R2 Server.
I was able to install the VS 2003 Pre-reqs when I tried to install the VS.net 2003 server itself, I am getting the following error:
Error 1309: Error reading from File D:............\adodb.dll.
Verify that the file exists and you have access to it.
I am able to see the file. I run the setup exe as administrator.Still getting this error.
If you have multiple CD-DVD ROM drives, you should turn off the extra drives and try again.
If you don't have a multiple CD-ROM system, try to copy the CD-DVD's contents to the Hard Disk Drive and run the installation from there.
you can try to download the file from internet and repleace the one from the folder, but first back up the old one
Download the file adodb.dll to your desktop.
Move the dll file to the program directory missing the file.
If step 2 doesn't work. Move adodb.dll to the system directory.
Windows XP,Vista, and Windows 7 - C:\Windows\System32
on 2012 R2 Server should be the same directory file
It seems under Win2K12 R2, the Installer of MSVS.Net 2003 does not pick up the short forms of the paths to the installation files... I even suspect that server doesn't support 8.3 forms of the paths.
For the case the 8.3 support is there, try to run the installer in Compatibility Mode (right-click on the setup executable and choose Properties, then tab "Compatibility", then either run the Compatibility Troubleshooter oder select the Checkbox "Run this program in compatibility mode for:" and choose from the dropdown Windows 7 oder Windows XP (SP 3)).

Register comdlg32.dll gets Regsvr32: DllRegisterServer entry point was not found

I have Windows 7, 64-bit.
I'm trying to register a .dll (comdlg32.dll) using regsvr32. But I get an error that says the dll is read but the DLLRegistryServer entry point is not found.
I have run the command under both System32 and SysWOW64 and I have run my commands with "Run As Administrator".
My old MSComDlg.CommonDialog component is no longer working with 64-bit.
comdlg32.dll is not a COM DLL and cannot be registered.
One way to confirm this for yourself is to run this command:
dumpbin /exports comdlg32.dll
You'll see that comdlg32.dll doesn't contain a DllRegisterServer method. Hence RegSvr32.exe won't work.
That's your answer.
ComDlg32.dll is a a system component. (exists in both c:\windows\system32 and c:\windows\syswow64) Trying to replace it or override any registration with an older version could corrupt the rest of Windows.
I can help more, but I need to know what MSComDlg.CommonDialog is. What does it do and how is it supposed to work? And what version of ComDlg32.dll are you trying to register (and where did you get it)?
comdlg32.dll is not really a COM dll (you can't register it).
What you need is comdlg32.ocx which contains the MSComDlg.CommonDialog COM class (and indeed relies on comdlg32.dll to work). Once you get ahold on a comdlg32.ocx, then you will be able to do regsvr32 comdlg32.ocx.
Registering DLL for Fundsite
Outdated or missing comdlg32.ocx runtime library can be the problem of causing this error.
Make sure comdlg32.ocx file is not corrupted otherwise Download the File comdlg32.ocx (~60 Kb Zip).
Download the file and extract the comdlg32.ocx to your the Windows\System32 folder or Windows\SysWOW64. In my case i started with Windows\System32 but it didn’t work at my end, so I again saved in Windows\SysWOW64.
Type following command from Start, Run dialog:“c:\windows>System32\regsvr32 Comdlg32.ocx “ or “c:\windows>SysWOW64\regsvr32 Comdlg32.ocx ”
Now Comdlg.ocx File is register and next step is to register the DLL
Copy the Fundsite.Text.Encoding. dll into .Net Framework folder for 64bit on below path
C:\Windows\Microsoft.NET\Framework64\v2.0.50727
Then on command prompt and go to directory C:\Windows\Microsoft.NET\Framework64\v2.0.50727 and then run the following command as shown below.
This will register the dll successfully.
C:\Windows\Microsoft.net\framework64\v2.0.50727>regasm "Dll Name".dll
Have you unistalled your Internet Explorer?
I did, and I had the same issues, if so, you have to:
Reactivate IE (Control Panel -- Programs and Features -- Turn Windows features on or off).
restarting the computer
(important!) running Windows Update to get all available updates for Microsoft Explorer
restarting the computer (again)
Finally it works!
I have faced the same issue with COMDLG32.OCX and MSFLXGRD.OCX in Windows 10 and Visual Studio 2010. It's an MFC application.
Then I downloaded its zip file from the google after extracting copy them at following paths:
C:\Windows\System32 (*For 32-bit machine*)
C:\Windows\SysWOW64 (*For 64-bit machine*)
Then run Command Prompt as an Administrator then run the following commands:
For Windows 64-bit systems c:\windows\SysWOW64\ regsvr32 comdlg32.ocx
c:\windows\SysWOW64\regsvr32 msflxgrd.ocx (My machine is 64-bit configuration)
For Windows 32-bit systems c:\windows\System32\ regsvr32 comdlg32.ocx
c:\windows\System32\regsvr32 msflxgrd.ocx
On successfully updation of the above cmds it shows succeed message.
Information about missing entry point error installing legacy VB6 compiled applications on Windows 10 which I hope could be useful to someone.
Missing OCX files can be found in the "OS\System folder" of the Visual Basic 6.0 installer package.
Today I copied the relevant OCX file (from our network) to the local computer
And then I typed the commands below, as administrator, which normally work to register it.
cd \windows\syswow64
regsvr32.exe /u mscomctl.ocx
regsvr32.exe /i mscomctl.ocx
(add the path to the locally copied file for the /i command)
However today I got errors from both these regsvr32.exe commands.
The second error was giving the DllImport missing entry point error which is similar to the error mentioned by the original poster.
To resolve, one of the things I tried was leaving out the switch -
regsvr32.exe mscomctl.ocx
To my surprise it then said it was successful.
To confirm, the application started up properly afterwards.
SOLUTION OF Regsvr32: DllRegisterServer entry point was not found,
Go to systemdrive(generally c:)\system32 and search file "Regsvr32.exe"
Right click and click in properties and go to security tab and click in advanced button.
Click in owner tab and click edit and select administrators and click ok.
Click in permissions
Click in change permissions.
Choose administrators and click edit and put tick on full control and click ok.
Similarly, choose SYSTEM and edit and put tick on full control and click ok and click in other dialog box which are opened.
Now .dll files can be registered and error don't come, you should re-install any software whose dll files was not registered during installation.
I also had the similar problem while registering myinfo.dll file in windows 7. Following work for me:
Create a short cut on your desktop
C:\Windows\System32\regsvr32.exe c:\windows\system32\myinfo.dll
right click on the short cut just created and select as Run as administrator.

Error on sharepoint server 2010 configuration

I need to install sharepoint server 2010 on my developer pc with 64bit windows 7 OS. I followed microsoft instructions on http://msdn.microsoft.com/en-us/library/ee554869.aspx
Let me describe you on this. I copied all the files from the CD to my D: drive. Changed the config at D:\SharePoint Server 2010\Files\Setup and added the tag ''. Installed the prerequisites manually. Made specified changes to windows features, and run the setup.exe file. Selected 'Standalone' as installation type. The installation completed successfully.
While running configuration wizard, I got the message 'Configuration failed' saying 'Failed to create the configuration database'.
I had this happen to me when installed my local development for SharePoint. This link might be able to help. http://myspexp.com/2010/05/31/configuration-failed-when-installing-sp-2010-on-windows-7-failed-big-time-3
While running configuration wizard, I got the message 'Configuration failed' saying 'Failed to create the configuration database'.
Please follow
http://www.microsoft.com/downloads/details.aspx?FamilyID=eb9c345f-e830-40b8-a5fe-ae7a864c4d76&displaylang=en#filelist
Install Windows update, installation will work Fine
To install sharepoint on windows 7
Please follow
http://msdn.microsoft.com/en-us/library/ee554869(office.14)

Installshield response file not being generated

I've built an installer using InstallShield 2011. I need to do a silent install so I ran the setup.exe with the -r flag to record the response file. However, the installer doesn't appear to actually generate a file (I've looked in the windows directory for the .iss file - in fact I've looked over my entire hard disk for .iss files)
I'm installing on Windows 7 64 bit Ultimate Edition and running from an elevated command prompt
Has anyone seen this before or have any ideas why the file isn't getting generated?

Program Files (x86) problem

I have an installer package, at the last step user can select launch application or not. the installed application is 32bit, during the installation we select the installation folder to "c:\Program Files", while it will always install application to "c:\Program Files(x86)" folder, then we meet problem, we can not launch the application, we have tested that if we choose the default installation folder(which means c:\program files") it works well. so I guess the problem is that windows launch 32bit application as 64bit, so it failed. how to solve it?
Your installer should know the path the application was installed to. You should use it, your EXE file key; for a WiX example see Well Done section of the tutorial.
If your installer package is MSI-based, then the installer is a 64 bit process, and it sees both Program Files (x86) and Program Files. I think it is the problem why you can't start your program. (A 32 bit executable will see only Program Files (x86) under the name of Program Files).

Resources