Video Screencast Help
Search Video Help Close Back
to help
Not able to make it to Vision this year? Get a sampling in the Best of Vision on Demand group.

Run Wisescript from installation Issue

Updated: 03 Aug 2010 | 3 comments
Pragya's picture
0 0 Votes
Login to vote

I have a custom action scheduled in the User Interface and Execute Immediate mode of my setup and is set as "Run wisescript from installation" . The CA basically looks up the registry and sets a windows installer property. This custom action is scheduled as the very first step, even before find related products and appsearch, since the property set by this CA is used in Appsearch.I have been using this CA for a long time with many different release versions of our product and it always worked fine. For this new release, nothing has changed but for some reason tt's being called, and the install log indicates that it runs successfully, but we know it isn't actually running, it does not set the property. I have copied the parts from the logs - where it works and where it does not. ANy input on this would really be of help. Am I missing something?

This is the part of the log when the custom action is called:

Problem Setup: 

MSI (c) (C0:D0) [18:05:12:274]: Doing action: CA_SetArcGISDir2

Action 18:05:12: CA_SetArcGISDir2.

Action start 18:05:12: CA_SetArcGISDir2.

MSI (c) (C0:64) [18:05:12:290]: Invoking remote custom action. DLL: C:\DOCUME~1\PLTSBU~1\LOCALS~1\Temp\MSID8.tmp, Entrypoint: g12

Action ended 18:05:13: CA_SetArcGISDir2. Return value 1.

MSI (c) (C0:D0) [18:05:13:556]: Doing action: FindRelatedProducts

 

 

Working Setup:

 

Action ended 16:07:08: WiseStartup. Return value 1.

MSI (c) (30:AC) [16:07:08:285]: Doing action: CA_SetArcGISDir2

Action 16:07:08: CA_SetArcGISDir2.

Action start 16:07:08: CA_SetArcGISDir2.

MSI (c) (30:AC) [16:07:08:363]: Transforming table CustomAction.

 

MSI (c) (30:AC) [16:07:08:379]: Transforming table CustomAction.

 

MSI (c) (30:AC) [16:07:08:379]: Note: 1: 2262 2: CustomAction 3: -2147287038

MSI (c) (30:AC) [16:07:08:442]: Transforming table Binary.

 

MSI (c) (30:AC) [16:07:08:473]: Transforming table Binary.

 

MSI (c) (30:AC) [16:07:08:473]: Note: 1: 2262 2: Binary 3: -2147287038

MSI (c) (30:FC) [16:07:08:473]: Invoking remote custom action. DLL: C:\DOCUME~1\PLTSBU~1\LOCALS~1\Temp\MSI251.tmp, Entrypoint: g12

MSI (c) (30!6C) [16:07:12:707]: PROPERTY CHANGE: Adding ESRI_ARCINFO_FOLDER property. Its value is 'C:\Program Files\ArcGIS\'.

Action ended 16:07:13: CA_SetArcGISDir2. Return value 1.

Discussion Filed Under:

Comments

Pragya's picture
28
Jan
2010
0 Votes 0
Login to vote

Also, I tried putting in

Also, I tried putting in messages inside of the wise script. The first line in the wisescript is a display message, and it does not even display the message.

Pragya's picture
28
Jan
2010
0 Votes 0
Login to vote

I changed the custom action

I changed the custom action to "Execute program from installation" and then it enters the wise script but gives this error message when trying to set the windows installer property:

The script action, Get Windows Installer Property, can only be used ina script that is executed by Wise for Windows Installer

EdT's picture
29
Jan
2010
0 Votes 0
Login to vote

Does the user have admin rights?

Does your installing user have admin rights?

If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.