Geeks With Blogs

News

Google My Blog

Catch me at: The List!


My InstallScript Utility Belt My Amazon Wishlist
My Standard Disclaimer


Archives
Chris G. Williams Beware: I mix tech and personal interests here.

In addition to the handy stuff in my InstallShield utility belt, here's another VERY useful script, although this one should go in your Setup.rul file:

function OnResumeUIBefore()
    STRING szMsg;
    NUMBER nResult;
begin
    // change the interior-dialog banner
    DialogSetInfo(DLG_INFO_ALTIMAGE, SUPPORTDIR ^ "newbanner.bmp", TRUE);

Dlg_Start:
 nResult = SdWelcome( "Upgrading your product", "The InstallShield Wizard will now upgrade your existing your product installation." );
    if (nResult = BACK) goto Dlg_Start;
    Enable(STATUSEX);
   
end;

When you are working with an InstallScript MSI Project, you will find that Minor Upgrades are treated as Resumed Installations by some aspects of the Installshield UI sequence.

Unfortunately, the support community is loaded with people asking how to change the text of the Upgrade Welcome dialog. Directly editing the string table doesn't seem to work either. If you manually add the above function, it will override the built in version of the same and you can control your “resume” behavior. This has been an ongoing problem since at least version 7 of IS. You won't find this anywhere in the help documentation either.

Here's the updated Utility Belt: http://www.geekswithblogs.net/cwilliams/articles/27847.aspx

Posted on Friday, April 15, 2005 4:47 PM Installshield | Back to top


Comments on this post: InstallShield Utility Belt updated

No comments posted yet.
Your comment:
 (will show your gravatar)


Copyright © Chris G. Williams | Powered by: GeeksWithBlogs.net