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

MAINTENANCE result=0?


3 replies to this topic

kwansho

kwansho
  • Members
  • 3 posts

Posted 21 September 2003 - 17:31

Dear all,
I have a problem. I'm use Basic MSI Project(InstallShield Dev7 sp4).
I'm want to know maintenance result on installscript.
so, I'm write a script belowing:

if (MAINTENANCE) then
.........
endif;

but, the result=0 when I'm choice install or remove..,etc
Why does the result not (true or false)?

Please help me. Thank you very much.

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 September 2003 - 09:16

I believe that MAINTENANCE will only work in a InstalLScript SMI project, but not in a custom action in Basic MSI.

kwansho

kwansho
  • Members
  • 3 posts

Posted 22 September 2003 - 10:55

QUOTE (Stefan Krueger @ 2003-09-22 08:16)
I believe that MAINTENANCE will only work in a InstalLScript SMI project, but not in a custom action in Basic MSI.

Thank you, Sir:

If I want to know MAINTENANCE value in MSI .
How do i do ? Could you tell me if you have other solution?
smile.gif

Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 22 September 2003 - 17:25

You can use the Installed property. It will not exist on first time install.