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

problem with upgrade + custom action


3 replies to this topic

yh2

yh2
  • Members
  • 12 posts

Posted 11 June 2006 - 12:36

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

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 11 June 2006 - 20:27

Duplicate post, see my reply here:
http://forum.install...showtopic=15026

yh2

yh2
  • Members
  • 12 posts

Posted 12 June 2006 - 08:17

according to your answer i entered the condition as follows: UPGRADINGPRODUCTCODE OR NOT REMOVE .
i still get the error message:
'C:\DOCUME~1\username\LOCALS~1\Temp\dllname.dll' can not be found. make sure the file is on target system or installed alredy.
if the condition is 'UPGRADINGPRODUCTCODE' or 'NOT REMOVE' i don't get the error message and the CA works fine. i need both of them (NOT REMOVE, UPGRADINGPRODUCTCODE' ). how can i do it?


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 12 June 2006 - 09:41

Sounds weired, maybe I'm misunderstanding you. A verbose log might clear things up for you.
And you need to make sure the DLL is not deleted at the time you call it.