Error 1720
Hi all
i am facing error 1720
when i install componentone then during installation i get the error 11720
and my installation is stoped
i am facing error 1720
when i install componentone then during installation i get the error 11720
and my installation is stoped
0 Comments
[ + ] Show comments
Answers (3)
Please log in to answer
Posted by:
sandyran
15 years ago
Posted by:
anonymous_9363
15 years ago
This error occurs if you are using any script in your package.Utter tosh. A 1720 error simply means that the script couldn't be run.
I can practically guarantee that you have fallen foul of the packaging beginner's trap and are using 'WScript' directives in the script. By that I mean things like 'WScript.Echo', 'WScript.CreateObject' and so on. WScript is used by the Windows Scripting Host runtime on the workstation itself. The Windows Installer uses its own runtime, not WSH, for VBScript. Thus, you need to remove all such directives from your script. This, of course, makes it tricky to have scripts which can run externally (for testing) and internally. I use a test for a common Session property, setting a Boolean which can be tested in the code to branch accordingly.
What is the script doing? It may well be that you can achieve its effect using native MSI functionality.
Any action after InstallFinalize runs in the context of the logged-in user, rather than in System context. If what the CA is doing requires admin-level privileges, it will fail.
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.