View Full Version : Windows Registry update
Prince
03-14-2005, 06:35 AM
Windows registry update is not working either with NT4 or Win2K/XP type .reg file. Please let me know how can I make it work?
RobertDickau
03-14-2005, 08:51 AM
Anything written to the log? Is there an error, or is nothing written to the registry? Could you post an excerpt of your .reg file?
Prince
03-14-2005, 11:07 PM
There were some errors like:
Install, com.installshield.wizard.platform.win32.Win32RegistryUpdate, err, ProductException: (error code = 601; message="The system cannot find the file specified.
(2) Error on line 3")
I have attached the log file with this message.
RobertDickau
03-15-2005, 08:20 AM
Perhaps see if InstallShield KB (http://support.installshield.com) article Q105720 has a bearing on your issue.
HolgerSteudle
03-22-2005, 07:42 AM
Hi,
i am trying to add some registry keys for file associations. The log says next to nothing at least no errors as far as i can see:
(22.03.2005 13:32:01), Install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, dbg.install, JVM memory before installing Win32 Registry Update (bean4): free=7930168 total=21098496
(22.03.2005 13:32:01), Install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, msg1, installing Win32 Registry Update (bean4)
(22.03.2005 13:32:01), Install, com.installshield.wizard.platform.win32.Win32ProductServiceImpl, dbg.install, JVM memory after installing Win32 Registry Update (bean4): free=7794952 total=21098496
Is there an error in the .reg file (see attachment)?
Shouldn't there be an error message then?
Is there an easier way in IS Universal to make file associations?
OS is WinXP SP2
Any Tips or Hints are welcome.
Best regards
Holger
RobertDickau
03-22-2005, 08:21 AM
Perhaps try saving the .reg file as ANSI (instead of Unicode)? Perhaps change the first line to REGEDIT4 (instead of REGEDIT 4)? Are any of the data written to the registry?
But no, alas, there is no more direct way in Universal to create a filename-extension association...
HolgerSteudle
03-22-2005, 10:31 AM
Hi,
thanks for your Tips, saving as ANSI and deleting the space in the header solved my problem! Or at least it gave me errors in my reg file and showed me that it is processing it :rolleyes: Now i fixed these errors and everything is bright and shiny.
Perucho
01-22-2007, 01:09 PM
Prince/Robert - How did you fix this error?
Install, com.installshield.wizard.platform.win32.Win32RegistryUpdate, err, ProductException: (error code = 601; message="The system cannot find the file specified.
RobertDickau
01-22-2007, 01:34 PM
For one possibility, please see Macrovision KB article Q105720, at http://support.installshield.com/kb.
Perucho
01-22-2007, 02:12 PM
The installation installs fine without any errors on my win2k machines, but it fails to install on the client win2k machine.
Perucho
01-25-2007, 09:07 AM
After several hours of debugging, the problem in fact was in the registry file. One of the registry keys is dynamic and it's created from an user installation input value. The installation user was entering an input value with a backslash (i.e. "ABCD\EFGH"), thus causing the bug.
[HKEY_LOCAL_MACHINE\MyCompany\MyProduct\<InstallationInputValue>]
ERRMSG: Error While Processing Registry File (error code = 601; message=
http://support.installshield.com/kb/view.asp?articleid=Q105720
Document ID: Q105720
Discussion
The above error is generated when the Win32 Registry Update bean is unable to process a key name in the registry file. As a limitation, this bean cannot process multiple keys specified on a single line.
For example, if you specify the following key:
[HKEY_LOCAL_MACHINE\MyCompany\MyProduct]
where at runtime HKEY_LOCAL_MACHINE \MyCompany does not exist.
To avoid the error, your registry file should contain the following:
[HKEY_LOCAL_MACHINE\MyCompany]
[HKEY_LOCAL_MACHINE\MyCompany\MyProduct]
Powered by vBulletin® Version 4.2.0 Copyright © 2013 vBulletin Solutions, Inc. All rights reserved.