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.

problem with upgrade + custom action

1 reply to this topic


  • Members
  • 12 posts

Posted 11 June 2006 - 12:39

i have msi project that includes the next custom action: call a function in standard dll, stored in the binary table (location is <ISProjectDataFolder>).
the custom action has the condition : NOT REMOVE (means it happens when installing and in major upgrade).
the custom action works fine when installing, but not when upgrading.
in the upgrade process (major upgrade) when calling the custom action the next message appears: 'C:\DOCUME~1\username\LOCALS~1\Temp\dllname.dll' can not be found. make sure the file is on target system or installed alredy.
what's wrong?

Stefan Krueger

Stefan Krueger


  • Administrators
  • 13,269 posts

Posted 11 June 2006 - 20:26

During a Major Upgrade REMOVE becomes true (because the old version is being removed). In the old version you can detect a Major Upgrade using the property UPGRADINGPRODUCTCODE.