Hi
We are facing problem in running the Setup from One click Install we are reciving javascript error in Internet Explorer with followig details:
Line: 52
Error: "Invalid Procedure call or Argument"
Following code is generated by Installshield causing problem:
This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
One Click Install - SetSetupType Error
Started by
nitinmahajan10
, Jun 21 2005 16:25
2 replies to this topic
Posted 21 June 2005 - 16:25
CODE |
// App not installed, set TargetDir and setup type if (!ether.IsInstalled()) { var strTargetDir = ether.GetTextSub("PROGRAMFILES") + ether.ProductName; ether.SetTargetDir(strTargetDir); ether.SetSetupType("Typical"); //Line 52 |
Error is caused by statement "ether.SetSetupType("Typical"); ". When we comment this statement We don't get javascript error but then setup does not run properly i.e. it does not installs the product.
What could be the solution?? Please Help !!!
Thanks
Nitin
Posted 22 June 2005 - 17:19
I haven't used IS 6 in a while, but I think in later versions of InstallShield the SetTargetDir has been removed (replaced by some other means to set the directory). Therefore I suspect that your version of the ether object may not be correct (i.e. trying to run old script with new ether)
Stefan Krüger
InstallSite.org twitter facebook
Posted 28 June 2005 - 12:45
Thanks a Lot Stefan
My problem was with the line No. 52 ::: SetSetupType("Typical");
Default "Typical" Setup Type was not available in Project. So know this is working fine for know.
Nitin
My problem was with the line No. 52 ::: SetSetupType("Typical");
Default "Typical" Setup Type was not available in Project. So know this is working fine for know.
Nitin