cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
drostowsky
Level 5

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)
Labels (1)
0 Kudos
(1) Reply
toogoodju
Level 4

Scroll down this site, you'll find a Admin Condition java bean.

http://www.installshield.com//downloads/beans.asp?prod=mpf
0 Kudos