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

Comments

Please log in to comment

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Answers

0
properties are referred within [] so you statement should look like:
If [Unsubmitted]="R" then
Answered 11/20/2006 by: AngelD
Red Belt

Please log in to comment
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.
Answered 11/20/2006 by: KentD
Purple Belt

Please log in to comment
Answer this question or Comment on this question for clarity