![]() |
|
|||||||
![]() |
|
|
Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
silent install wizard SetVariableAction failed with java.lang.NullPointerException
Hi All,
I am using InstallShield Universal Installer 10.5. I've create a variable TEST_LOCATION as local variable in the Property Manager and initialized it to "C:\Program Files\Test". I then add SetVariableAction in the pre-install wizard sequence to set this variable TEST_LOCATION to "C:\Program Files\Test1". During interactive install the wizard action work fine (i.e no error or exception is logged) However, in silent install mode I got the following exception: (23/05/2006 15:49:42), Install, com.installshield.product.wizardbeans.SetVariableAction, err, java.lang.NullPointerException STACK_TRACE: 6 java.lang.NullPointerException at com.installshield.product.wizardbeans.SetVariableAction.execute(Unknown Source) at com.installshield.wizard.StandardWizardListener.execute(Unknown Source) at com.installshield.wizard.StandardWizardListener.currentBeanChanged(Unknown Source) at com.installshield.wizard.Wizard$RunThread.run(Unknown Source) When I write to the log file the value of $V(TEST_LOCATION) it is resolved as "C:\Program Files\Test" I find this is very puzzling. Any help or suggestion would be much appreciated. Thanks in advanced. Prospov. |
|
#2
|
|||
|
|||
|
Set Variable Error
I am getting the NullPointerException even withous silent installation.
Can u give me ur code plz |
|
#3
|
|||
|
|||
|
Silent installation failure
Hello,
Even i am facing same problem. I am using one windows get registry value action in pre-install sequence to obtain the value os startMenu path and am setting this path value to one variable like S_path using SetVariable action .And this variable am using it as $V(S_path) to many of my executeprocess and copy file action to copy some of my .ini and .ico files. Silent installations works fine if i add this S_path to respone file with complete path .otherwise it is failing with following error "com.installshield.product.wizardbeans.SetVariableAction, err, java.lang.NullPointerException" I saw u r also facing similar kind of problem Did you get any solution to this ? Its very uregent,please if any suggestion please provide me Thanks in advance ast081 |
![]() |
| Thread Tools | Search this Thread |
| Display Modes | |
|
|