/build/static/layout/Breadcrumb_cap_w.png

Missing Property

Created a package in wise 6.2, next in Directory Table created string to set a Default directory to use it in CA which is sequenced in Normal Execute immediate/Defferred with in script option: Deferred Execute- system Context.

But is there when n script option: immediate Execution

During upgrade the property is not there using: mgbox session.property("INSTALLDIR1"), gives an empty box.

what can i do to have the property, once my CA runs.

Thanks

0 Comments   [ + ] Show comments

Answers (4)

Posted by: pjgeutjens 13 years ago
Red Belt
0
During deferred execution only a limited set of properties is available by default (ProductCode, UserSID and CustomActionData) so you'll need to cast your property value so it's available in deferred execution custom actions.

Read this article for a run-through of how to do this.

PJ
Posted by: Netrock 13 years ago
Orange Senior Belt
0
Thank you pjgeutjens for the reply and the link...

I follow the two steps on page 2, but the value of "CustomActionData" property, is blank and not set to the [INSTALLDIR1].

what i did is created a Set property CA called ABC in that set the property to the deferred CA example "DefCA" and the value to [INSTALLDIR1], seq. in Normal execute immediate placed before "DefCA". and in the "DefCA" i used "CustomActionData" instead of [INSTALLDIR1].

am i doing something wrong?
Posted by: Netrock 13 years ago
Orange Senior Belt
0
Ok i found where the problem was. i tried before to place the CA In UI to see if that makes a different, next i changed to Execute Deferred, But Wise kept the CA in UI mode and execute Deferred.....!!!

Now it is working thanks for your help. really appreciated!
Posted by: anonymous_9363 13 years ago
Red Belt
0
This bug has been around in Wise since God Knows When. It occurs when you move CAs around using the UI.

Essentially, the actual sequence number doesn't get updated. I always use a prefix to my CA names to indicate where it occurs (or should occur!) so that, if this happens, I can see straight away in the relevant tables. Simply editing the sequence number is all that's required to restore sanity.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ