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?
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
Started by
yh2
, Jun 11 2006 12:36
3 replies to this topic
Posted 11 June 2006 - 20:27
Stefan Krüger
InstallSite.org twitter facebook
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?
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?
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.
And you need to make sure the DLL is not deleted at the time you call it.
Stefan Krüger
InstallSite.org twitter facebook