This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: Check for admin privileges for Windows Registry Update?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 12, 2006
11:37 AM
Check for admin privileges for Windows Registry Update?
A user was attempting to install with our installer on a machine where they did not have admin privileges. Our installer uses the Windows Registry Update action. They got the below exception. How do I make sure a user has the correct privileges before taking an action like this?
(Sep 12, 2006 8:52:10 AM), Install, com.installshield.wizard.platform.win32.Win32RegistryException, err, Error while processing registry file C:\DOCUME~1\PSTOPP~1\LOCALS~1\Temp\ismp001\7244721\data\92073a1492275015c9e6c3d77670b9c5\2.1.0\assembly.dat+/3b0b675434fd73b2f688cf0aa3086280/win32reg/beanWindowsRegistryUpdate/developer.reg
(Sep 12, 2006 8:52:10 AM), Install, com.installshield.wizard.platform.win32.Win32RegistryUpdate, err, ProductException: (error code = 601; message="Access is denied.
(5) Error on line 3")
STACK_TRACE: 13
ProductException: (error code = 601; message="Access is denied.
(5) Error on line 3")
at com.installshield.wizard.platform.win32.Win32RegistryUpdate.install(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
(Sep 12, 2006 8:52:10 AM), Install, com.installshield.wizard.platform.win32.Win32RegistryException, err, Error while processing registry file C:\DOCUME~1\PSTOPP~1\LOCALS~1\Temp\ismp001\7244721\data\92073a1492275015c9e6c3d77670b9c5\2.1.0\assembly.dat+/3b0b675434fd73b2f688cf0aa3086280/win32reg/beanWindowsRegistryUpdate/developer.reg
(Sep 12, 2006 8:52:10 AM), Install, com.installshield.wizard.platform.win32.Win32RegistryUpdate, err, ProductException: (error code = 601; message="Access is denied.
(5) Error on line 3")
STACK_TRACE: 13
ProductException: (error code = 601; message="Access is denied.
(5) Error on line 3")
at com.installshield.wizard.platform.win32.Win32RegistryUpdate.install(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl.installProductAction(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.getResultForProductAction(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitComponent(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitInstallableComponents(Unknown Source)
at com.installshield.product.service.product.InstallableObjectVisitor.visitProductBeans(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$InstallProduct.install(Unknown Source)
at com.installshield.product.service.product.PureJavaProductServiceImpl$Installer.execute(Unknown Source)
at com.installshield.wizard.service.AsynchronousOperation.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Sep 14, 2006
08:56 AM
Scroll down this site, you'll find a Admin Condition java bean.
http://www.installshield.com//downloads/beans.asp?prod=mpf
http://www.installshield.com//downloads/beans.asp?prod=mpf