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
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 "
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)
Please log in to answer
Posted by:
anonymous_9363
14 years ago
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
14 years ago
Posted by:
pjgeutjens
14 years ago
Posted by:
cmi2000
14 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.