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

Different values


2 replies to this topic

aydind

aydind
  • Full Members
  • 4 posts

Posted 09 October 2007 - 09:40

My firm uses Installshiled X premier edition and downloaded Installshield 2008 evaluation version. I create Basic MSI project, and use installscript. But, I converted from InstallShield X to InstallShield 2008, get different values. Why? And How I get same values IS2008? Thanks

My project: (Setup.rul)

#include "ifx.h"

STRING A, B, C; //(General Variable)

export prototype MyFunction(HWND); //InstallWelcome (Next) Do Action
export prototype MyFunction2(HWND); //ReadyToInstall (InstallNow) Do Action

function MyFunction(hMSI) //InstallWelcome (Next) Do Action
// To Do: Declare local variables.
begin

A="VALUE1";
B="VALUE2";

end;

function MyFunction2(hMSI) //ReadyToInstall (InstallNow) Do Action
// To Do: Declare local variables.
begin

C=A+B;
MessageBox(C,INFORMATION);
end;


Installshield X Premier edition get value:
C = “VALUE1VALUE2”

Installshield 2008 evaluation get value:
C= “”


Stefan Krueger

Stefan Krueger

    InstallSite.org

  • Administrators
  • 13,269 posts

Posted 10 October 2007 - 14:41

That's a result of a InstallScript engine design change, see help topic "Upgrading InstallShield 11.5 or Earlier Basic MSI Projects that Have InstallScript Custom Actions":
http://helpnet.macro...icMSI-ISCAs.htm

aydind

aydind
  • Full Members
  • 4 posts

Posted 15 October 2007 - 08:10

Thanks a lot