Sunteți pe pagina 1din 3

Integrating GEAR Driver Installation Merge Modules into an

InstallShield 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 Comment


GEARASPISYS_SERVICE_DELETED 0 Property indicating if GEARAspiSys service is flagged for deletion
GEARASPIWDM_SERVICE_DELETED 0 Property indicating if GEARAspiWDM service is flagged for deletion
5. Add the following Install Conditions to Product Properties in the Installation Information | General Information
view

Condition Message
[ProductName] requires that your computer is running Windows 98
(Not Version9x=400) or Windows 98 SE or Windows Me or Windows NT 4.0 or Windows
2000 or Windows XP or Windows 2003 Server
You do not have sufficient privileges to complete this installation for
AdminUser all users of the machine. Log on as an administrator and then retry
this installation.
Unable to install the GEAR driver set at this time. The GEARAspiSys
service use by the GEAR driver set is scheduled to be deleted during
(GEARASPISYS_SERVICE_DELETED=0)
the next system reboot. Please reboot the system and run
[ProductName] again.
Unable to install the GEAR driver set at this time. The
GEARAspiWDM service use by the GEAR driver set is scheduled to
GEARASPIWDM_SERVICE_DELETED=0)
be deleted during the next system reboot. Please reboot the system
and run [ProductName] again.

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

Search For Search In Store In


HKEY_LOCAL_MACHINE\System\CurrentControlSet\
DeleteFlag GEARASPIWDM_SERVICE_DELETED
Services\GEARAspiWDM
HKEY_LOCAL_MACHINE\System\CurrentControlSet\
DeleteFlag GEARASPISYS_SERVICE_DELETED
Services\GEARAspiSys

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

Display Name GEAR Software driver set


Description Install GEAR Software's driver set and create associated services
Remote Installation Favor Local
Destination [INSTALLDIR]
Install Level 1
Display Visible and Collapsed
Advertised Allow Advertise
Required Yes
Release Flags
Conditions 0 Conditions
Comments

8. Set Template Summary, in the Installation Information | General Information | Summary Information Stream, to
Intel; 1033.
9. In the Application Data | Redistributables view, select the “GEARAspi driver installation merge module (universal)”,
and assign it to the InstallGEARDrivers feature.

10. Done

S-ar putea să vă placă și