/build/static/layout/Breadcrumb_cap_w.png

Custom Action

I have a custom action that does the following:
If rs(0)> 0 then' unsubmitted apps. return u
Session.Property("Unsubmitted") = "U"
end If
set rs_a = dbConn.Execute(SELECT_QUERY_READYTOSUBMIT)
if rs_a(0)> 0 then' unsubmitted apps. return u
Session.Property("Unsubmitted") = "R"
End If

No problem here, my VB script returns the correct Session.Property. My problem is getting my Installation to read it.
I Execute the VB script from Embedded Code. And have the following if statement -
If %Unsubmitted%=R then
Cancel Installtion Terminated (Exiting)

Is my IF statement correct? I placed it right before "Find Related Products" in the InstallExecuteSequence table.
Any thoughts?

0 Comments   [ + ] Show comments

Answers (2)

Posted by: AngelD 18 years ago
Red Belt
0
properties are referred within [] so you statement should look like:
If [Unsubmitted]="R" then
Posted by: KentD 18 years ago
Purple Belt
0
Tack Sa Mycket

That worked. However now instead of the VB script running as a seperate action, they want it to be a wrapper. As I suggested a couple of days ago.
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