Jump to content


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.
Photo

Major upgrade Problem (ISVerifyScriptingRuntime)


2 replies to this topic

felltier-a

felltier-a
  • Awaiting Authorisation
  • 85 posts

Posted 09 December 2014 - 13:59

Hi all,

 

i have a problem regarding a Major upgrade for my application.

 

I created an Installation 1.0 (Installscript MSI). Now i´m supposed to do a Major upgrade 1.1. I changed the Productcode, Productversion and so on. I have chosen to uninstall the old install before installing the new one. On install, the Setup has written something like "removing older Versions". At this point, a message comes up: "This installation cannot be run by directly launching the MSI package. You must run setup.exe." The uninstall fails and nothing gets uninstalled.

 

I played around with the custom action "ISVerifyScriptingRuntime" of the 1.0 - Setup. If this custom Action doesn´t get startet at uninstall, the Major update went just fine but I´m not sure if this is the correct way. I´m very sure that i made a Major upgrade some years ago and had not to change the condition for this Standard Action.

 

Has anyone an idea how to do it correctly?

 

regards,

Udo



Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 December 2014 - 11:43

I would recommend using "Basic MSI" instead of "InstallScript MSI".



Glytzhkof

Glytzhkof
  • Moderators
  • 1,447 posts

Posted 16 December 2014 - 12:00

I would also recommend switching to Basic MSI due to all the serious bugs encountered in Installscript MSI. See this thread and its links for discussion: http://forum.install...showtopic=19783. This is the most important linked thread: http://forum.install...?showtopic=8734

 

See this answer for a long list of benefits with Basic MSI files that are not properly there with Installscript MSI:

http://serverfault.c...using-msi-files

 

Installscript MSI needs a runtime for its Installscript language. This prerequisite setup was generally included in the setup.exe, and it was a legendary source of problems that should now be fixed. However, there is a legacy support site from Installshield for issues such as these: http://consumer.installshield.com/common.asp


Edited by Glytzhkof, 16 December 2014 - 12:03.
Simplifying.

Regards
-Stein Åsmul