FAQs

1. How to skip the welcome wizard page when modify?

  • Please add these const and procedures to [Code] section in you scrip:

    const
      WM_LBUTTONDOWN = 513;
      WM_LBUTTONUP = 514;

    procedure InitializeWizard();
    begin
      if (Pos('/SP-', UpperCase(GetCmdTail)) > 0) then
      begin
        PostMessage(WizardForm.NextButton.Handle,WM_LBUTTONDOWN,0,0);
        PostMessage(WizardForm.NextButton.Handle,WM_LBUTTONUP,0,0);
      end;
    end;

    procedure CurPageChanged(CurPageID: Integer);
    begin
      if (Pos('/SP-', UpperCase(GetCmdTail)) > 0) and
         (CurPageID = wpSelectComponents) then
        WizardForm.BackButton.Visible := False;
    end;

2. Which command options are supported by the UninsHs.exe?

  • Register UninsHs when install:

    UninsHs
      /r[HideItem]=<MyAppId>|<AppName>,{language},{srcexe}[,<Path_File>]

    HideItems:

    0: Don't hide any items(by default)
    1: Hide the Modify item
    2: Hide the Repair item
    3: Hide the Modify and Repair items

    MyAppId:
    Your AppId be defined in [Setup] section, if you don't use it, please specify the AppName instead of the AppId.

    AppName:
    Your AppName be defined in [Setup] section, if you use AppId, please specify the AppId instead of the AppName.

    Path_File:
    Copy installation package to a specified directory and filename for repair or modify.


  • Start the UninsHs:

    UninsHs /<DefaultItem>[HideItems]=<MyAppId>|<AppName>

    DefaultItem:

    m: Modify
    f: Repair
    u: Remove

    HideItems:

    0: Don't hide any items(by default)
    1: Hide the Modify item
    2: Hide the Repair item
    3: Hide the Modify and Repair items

    MyAppId:
    Your AppId be defined in [Setup] section, if you don't use it, please specify the AppName instead of the AppId.

    AppName:
    Your AppName be defined in [Setup] section, if you use AppId, please specify the AppId instead of the AppName.


  • Note:

    Delete all space around the commas and equal mark.


Copyright © 2001-2009 by Han-soft, all rights reserved. Contact us