Hi everybody,
I'm trying to do a msi package about an application called GSW Auditor, with WPS7. The point is that after instalation, I need to run an VBscript to modify several plain text files, so I used a custom action :
If NOT Installed then call vbscript
End

I wrote it on MSI Script after InstallFinalize, then I used "open document from installed files" because I need to run a .bat file

When I'm installing, at the end of installation, it shows the msg box "error 2762".
I read the meaning of this error, and It say "Deferred, rollback and commit custom actions can only be placed between InstallInitialize and InstallFinalize. Failure to do so is the most common cause for this error"
But I have put it on "execute inmediate", I don't know why I'm having this error...
Can anyone help me?

Thank you
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
I'm willing to bet that you've been moving the CA around with cut and paste? WPS has a well-known issue (which I'm willing to further bet has been faithfully carried over to v8) wherein, after a number of CAP operations, the UI shows the CA in the required position but, on checking the sequence in the relevant table, it's actually way out. The only recourse is to manually edit the sequence number.
Answered 09/03/2010 by: VBScab
Red Belt

Please log in to comment
0
U're right, I was moving that to try make it work... So, how can I fix the sequence number manually?? I watched the CustomAction table and there isn't "sequence number" there.
Answered 09/03/2010 by: cmi2000
Senior Purple Belt

Please log in to comment
0
I watched the CustomAction table and there isn't "sequence number" there.

You'll want to look at the InstallExecuteSequence table.

PJ
Answered 09/03/2010 by: pjgeutjens
Red Belt

Please log in to comment
0
nothing works, I'll try to do all from the begining.... wish me luck!
Answered 09/03/2010 by: cmi2000
Senior Purple Belt

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