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
- :
- Calling a Sandard dll in the deferred sequence
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
‎Jan 04, 2011
06:40 PM
Calling a Sandard dll in the deferred sequence
Hi,
I am using InstallShield 2011. I have a Standard dll custom action that I am calling in the deferred sequence. I am passing in a securecustomproperty as CustomActionData. The msi log file correctly displays the CustomActionData. But within the dll method, the property is blank.
Here is a log file snippet. Any ideas why the customActionData is correct, but the property is blank within the method? (The property should show up next to "(UNKNOWN) Log: Create IIS Web App - Parameter: " below)
(SERVER) MSI (s) (CC:F8) [15:55:12:668]: Executing op: ActionStart(Name=CREATEMANAGERAPP,,)
(UNKNOWN) Action 15:55:12: CREATEMANAGERAPP.
(SERVER) MSI (s) (CC:F8) [15:55:12:668]: Executing op: CustomActionSchedule(Action=CREATEMANAGERAPP,ActionType=3137,Source=BinaryData,Target=DLL2,CustomActionData=1|ArcGIS\|C:\inetpub\wwwroot\ArcGIS\|Manager|ArcGISApplicationsAppPool)
(SERVER) MSI (s) (CC:44) [15:55:12:684]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI1D64.tmp, Entrypoint: DLL2
(UNKNOWN) Log: Create IIS Web App - Parameter:
(SERVER) MSI (s) (CC:F8) [15:55:12:684]: Executing op: ActionStart(Name=RegisterUser,Description=Registering user,Template=[1])
(UNKNOWN) Action 15:55:12: RegisterUser. Registering user
Thanks!
Uma-
I am using InstallShield 2011. I have a Standard dll custom action that I am calling in the deferred sequence. I am passing in a securecustomproperty as CustomActionData. The msi log file correctly displays the CustomActionData. But within the dll method, the property is blank.
Here is a log file snippet. Any ideas why the customActionData is correct, but the property is blank within the method? (The property should show up next to "(UNKNOWN) Log: Create IIS Web App - Parameter: " below)
(SERVER) MSI (s) (CC:F8) [15:55:12:668]: Executing op: ActionStart(Name=CREATEMANAGERAPP,,)
(UNKNOWN) Action 15:55:12: CREATEMANAGERAPP.
(SERVER) MSI (s) (CC:F8) [15:55:12:668]: Executing op: CustomActionSchedule(Action=CREATEMANAGERAPP,ActionType=3137,Source=BinaryData,Target=DLL2,CustomActionData=1|ArcGIS\|C:\inetpub\wwwroot\ArcGIS\|Manager|ArcGISApplicationsAppPool)
(SERVER) MSI (s) (CC:44) [15:55:12:684]: Invoking remote custom action. DLL: C:\Windows\Installer\MSI1D64.tmp, Entrypoint: DLL2
(UNKNOWN) Log: Create IIS Web App - Parameter:
(SERVER) MSI (s) (CC:F8) [15:55:12:684]: Executing op: ActionStart(Name=RegisterUser,Description=Registering user,Template=[1])
(UNKNOWN) Action 15:55:12: RegisterUser. Registering user
Thanks!
Uma-
(2) Replies
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 05, 2011
09:08 AM
Hi,
Another thing I forgot to mention, if I change the custom action to an Execute immediate custom action (instead of Deferred, system context) then the customactiondata gets passed to the property correctly and everything works. I can confirm that the property is listed under Securecustomproperties.
Any help would be great!
Thanks!
Uma-
Another thing I forgot to mention, if I change the custom action to an Execute immediate custom action (instead of Deferred, system context) then the customactiondata gets passed to the property correctly and everything works. I can confirm that the property is listed under Securecustomproperties.
Any help would be great!
Thanks!
Uma-
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
‎Jan 06, 2011
05:18 AM
http://community.flexerasoftware.com/showthread.php?t=195789 this might help you