using_merge_modules

Upload: djborse

Post on 08-Apr-2018

221 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/7/2019 Using_Merge_Modules

    1/3

    Integrating GEAR Driver Installation Merge Modules into anInstallShield Project

    1. IMPORTANT: if your installer is created with InstallShield 10.5 and is to run on Windows NT 4.0, please read this

    Knowledge Base article first: http://support.installshield.com/kb/view.asp?articleid=Q111468

    2. Copy the GEAR Driver Installation merge module(s) to a directory on your system (e.g. C:\Merge Modules)

    3. Create a Basic MSI installation project

    4. Add the following to the Property Manager in the Behavior and Logic view

    Property Name Value CommentGEARASPISYS_SERVICE_DELETED 0 Property indicating if GEARAspiSys service is flagged for deletionGEARASPIWDM_SERVICE_DELETED 0 Property indicating if GEARAspiWDM service is flagged for deletion

  • 8/7/2019 Using_Merge_Modules

    2/3

    5. Add the following Install Conditions to Product Properties in the Installation Information | General Informationview

    Condition Message

    (Not Version9x=400)[ProductName] requires that your computer is running Windows 98or Windows 98 SE or Windows Me or Windows NT 4.0 or Windows

    2000 or Windows XP or Windows 2003 Server

    AdminUserYou do not have sufficient privileges to complete this installation forall users of the machine. Log on as an administrator and then retrythis installation.

    (GEARASPISYS_SERVICE_DELETED=0)

    Unable to install the GEAR driver set at this time. The GEARAspiSysservice use by the GEAR driver set is scheduled to be deleted duringthe next system reboot. Please reboot the system and run[ProductName] again.

    GEARASPIWDM_SERVICE_DELETED=0)

    Unable to install the GEAR driver set at this time. TheGEARAspiWDM service use by the GEAR driver set is scheduled tobe deleted during the next system reboot. Please reboot the systemand run [ProductName] again.

    6. Create the following System Search in the Behavior and Logic view

    Search For Search In Store In

    DeleteFlagHKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\GEARAspiWDM

    GEARASPIWDM_SERVICE_DELETED

    DeleteFlagHKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\GEARAspiSys

    GEARASPISYS_SERVICE_DELETED

    7. Create a new Feature called InstallGEARDrivers in the Organization view

    Display Name GEAR Software driver setDescription Install GEAR Software's driver set and create associated servicesRemote Installation Favor LocalDestination [INSTALLDIR]Install Level 1Display Visible and CollapsedAdvertised Allow AdvertiseRequired YesRelease Flags

    Conditions 0 ConditionsComments

    8. Set Template Summary, in the Installation Information | General Information | Summary Information Stream, toIntel; 1033.

  • 8/7/2019 Using_Merge_Modules

    3/3

    9. In the Application Data | Redistributables view, select the GEARAspi driver installation merge module (universal),and assign it to the InstallGEARDrivers feature.

    10. Done