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.
In OnBegin event MAINTENANCE is always FALSE
Started by
bababyt
, Oct 20 2004 10:02
4 replies to this topic
Posted 20 October 2004 - 10:02
Hi,
Can someone tell me why in a BASIC MSI project when I check for
maintenance mode it gives me always false even if I'm uninstalling?
if (!MAINTENANCE) then
MessageBox("Say Hello!", INFORMATION) ; //only this is executed
else
MessageBox("Say MAINTANENCE!", INFORMATION) ;
endif
Installshield 7.1 Professional
Thanks
Posted 21 October 2004 - 11:17
Moving question to Basic MSI forum
Stefan Krüger
InstallSite.org twitter facebook
Posted 21 October 2004 - 11:19
Please clarify which project ype you are using. I just moved your question from the InstallSheld professional 7 to the Basic MSI forum, but now I see that you say you are using IS Professional 7. So what InstallShield product and project type are you really using?
Stefan Krüger
InstallSite.org twitter facebook
Posted 21 October 2004 - 12:21
I am using InstallShield 7 and creating Basic MSI project.
However I found the solution:
MAINTENANCE property is set only in InstallShield7 Standard Project if there is a log created for installscript actions as specified in the article Q110701 "INFO: How the MAINTENANCE Property Is Set"
I wanted to use MAINTEnance property to determine if setup is installing or uninstalling.
Now I use the condition "Installed" or "Not Installed" for custom actions.
I want to say to InstallShield - PLEASE, DO SOME EFFORT AND MAKE YOUR HELP AND DOCS MORE CONSISTENT. IF YOU DON"T KNOW HOW - ASK YOUR BIG BROTHER MICROSOFT.
However I found the solution:
MAINTENANCE property is set only in InstallShield7 Standard Project if there is a log created for installscript actions as specified in the article Q110701 "INFO: How the MAINTENANCE Property Is Set"
I wanted to use MAINTEnance property to determine if setup is installing or uninstalling.
Now I use the condition "Installed" or "Not Installed" for custom actions.
I want to say to InstallShield - PLEASE, DO SOME EFFORT AND MAKE YOUR HELP AND DOCS MORE CONSISTENT. IF YOU DON"T KNOW HOW - ASK YOUR BIG BROTHER MICROSOFT.
Posted 22 October 2004 - 13:18
So you are using InstallShield Developer 7, not Professional 7.
Stefan Krüger
InstallSite.org twitter facebook