InstallShield has put out a White Paper on converting from version 5.5 to version 6.x. Although that paper is helpful and fairly accurate as far as it goes, it is incomplete. Here are some additional changes that you may need to look out for.
  1. The keyword void, which is required on some function prototypes, is not documented. The keyword is needed if the function contains a RETURN with no value.
  2. When defining arrays in typedefs, the syntax has changed from brackets to parentheses (but not in the online help and web site documentation).
    IS5: szElement String [40];
    IS6: szElement String (40);
  3. The built-in variable MODE is now read-only, as stated in the migration white paper. However, the online help says that you can change it. (The web site documentation is silent on the subject.)
  4. If you are migrating custom dialog source code, keep these points in mind…
  5. The migration white paper says that we can continue to use the Windows 95-style dialogs and to look at the help to learn how. Although the answer is in the help, you can't find it via the Index tab. In any case, you can get to it here.
  6. In IS5.5, a typical value of SUPPORTDIR was c:\temp\_istmp1\_istmp0. Now they look like c:\temp\{2f1301df-7a0a-4c64-899d-cce8b8685fb2}. Also, in IS5.5, if you added additional files to SUPPORTDIR, they would be deleted at the conclusion of the setup and in any event, the entire directory would be deleted. Neither of these functions happens in IS6.2.
  7. In IS5 the function LaunchAppAndWait returned 1 for success. In IS6 this has been changed to 0 to make it consistent with other functions. But the docs haven't been updated.
  8. In IS5, the function SdFinishReboot would not return if the user decided to reboot. In IS6.2, the function returns in all cases; the reboot does not occur until the script exits.
  9. In IS5, you could create a directory such as "c:\Projects\Migration\Media\Default\Disk Images\Test" and it would not be touched by the IDE. However, In IS6.2, if you do this it will be deleted when you rebuild the media.
  10. In IS5, opening a file via OpenFile would do so in a mode that allowed other processes to access the file. In IS6, the file is opened with exclusive access. This may also be the case with CreateFile

Last updated: May 22, 2001 * My home page * InstallShield * InstallSite * Dynamic Healthcare Technologies