Vian Zhou

Hi all,

My application can not register uninstall information to registry, it gave an error message as below:

"The specified resource type connot be found in the image file."

When I tried to RegOpenKeyEx(HKEY_LOCAL_MACHINE, REGSTR_PATH_UNINSTALL, .., ..), "SOFTWAR\Microsoft\Windows\CurrentVersion\Uninstall" can not open.

Does anyone have any idea My application can be installed on some computers, but failed to install to others. The operating systems are the same for all these computers.

Is there other directory for uninstall information I can install the other software on the computers that I can not install my application.

Thanks in advance!



Re: Visual C++ Express Edition About Uninstall directory in Registry

einaros

Are you installing this as a privileged user I've seen some mentions about this issue in relation to installing with limited access.





Re: Visual C++ Express Edition About Uninstall directory in Registry

Vian Zhou

I am not sure, The installation problem happened in India (I have not got confirmation yet). But it's not problem to install the others software. I think it's not privilege problem, unless the installation of the others software get special privilege.

It seems that only the administratorss group user has the permission to write in Uninstall registry entry.





Re: Visual C++ Express Edition About Uninstall directory in Registry

einaros

If your application installs perfectly with other setups, I'd blame the target computer, not your application.





Re: Visual C++ Express Edition About Uninstall directory in Registry

Vian Zhou

Done, because the user does not have write permission to HKLM\Software\Microsoft\Windows\CurrentVersion\Uninstall.

They can install the other software, but they are registered in HKEY_CURRENT_USER, but LOCAL_MACHINE.

Thanks!