/build/static/layout/Breadcrumb_cap_w.png

Error 2762! Custom Action problem...

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

Answers (4)

Posted by: anonymous_9363 11 years ago
Red Belt
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.
Posted by: cmi2000 11 years ago
Senior Purple Belt
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.
Posted by: pjgeutjens 11 years ago
Red Belt
0
I watched the CustomAction table and there isn't "sequence number" there.

You'll want to look at the InstallExecuteSequence table.

PJ
Posted by: cmi2000 11 years ago
Senior Purple Belt
0
nothing works, I'll try to do all from the begining.... wish me luck!
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

Share

 
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