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?
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)
Please log in to answer
Posted by:
AngelD
18 years ago
Posted by:
KentD
18 years ago
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.