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

setup.inx size limitation


1 reply to this topic

kay

kay
  • Members
  • 2 posts

Posted 26 December 2003 - 20:43

Hi.

Is there any size limitation for compiled InstallScript code (setup.inx) in IS6.31?

We are getting very strange IS behavior when setup.inx size becomes more than 1,033,000 bytes. We have 72 files in "Script Files" folder with total size about 4.2MB.

Thanks,
Andrey.

kay

kay
  • Members
  • 2 posts

Posted 27 December 2003 - 01:39

Looks like the same problem exists in InstallShield DevStudio 9SP1.
To reproduce it you can write the following function:
prototype Dummy();

function Dummy()
NUMBER i;
begin
i=1;i=1;i=1;i=1;i=1;i=1;i=1;i=1;i=1;i=1;i=1;i=1;i=1;i=1;i=1;i=1;
// copy & paste the line above about 6000 times, so that the size of setup.rul become 300k or more.
return i;
end;

call this function from you script (for example, from OnBegin() event) so that IS compiler include it in setup.inx.

Run your setup in debug mode....enjoy smile.gif !!!!!