First extract the hasp driver msi from the HASPUserSetup.exe.
Copy the msi to a new folder with the idea 8 msi and cab file.
HASP SRM Run-time.MSI
IDEA 8.0.msi
[1]
Create an mst file for the hasp msi and add a custom action to remove a alladin entry before the installation begins:
Name:CA_Delete_B4_Install
Type:3174
Target: Set WshShell = CreateObject("WScript.Shell")
cal1 = "HKEY_LOCAL_MACHINE\SOFTWARE\Aladdin Knowledge Systems"
WshShell.RegDelete cal1 & "\"
This prevents an error when there is a new hasp driver installed.
[2]
This one is a little bit tricky :)
Create an new mst file for the idea 8.0 msi
Create 1 custom actions:
Name: CA_Wait4LMKey
Type: 3174
Target: Set WshShell = CreateObject("WScript.Shell")
WshShell.Run "cmd /c PING 0.0.0.0 -n 47 >NUL",0,True
Put this one before the AMYUNI_Install_rb custom action in the installexecutesequence table. (1510) (NOT REMOVE)
change the StopServices and StartServices installexecutesequence to run before the custom action above..
i have used the next settings:
StopServices : 4150
StartServices : 5250
Create a new inifile table and add the values:
[inifile]-[Filename]-[DirProperty]-[Section]-[Key]-[Value]-[Action]-[Component]
broadcastsearch-hasplm.ini-HASP-REMOTE-broadcastsearch-0-0-IniFile
serveraddr-hasplm.ini-HASP-REMOTE-serveraddr-[CSERVER]-0-IniFile
Create in the components and featureComponents table 2 entry with the names: ServiceControl ,IniFile
* The inifile components needs to have the HASP folder as Directory_ entry.
Delete the file "hasplm.ini" from the File\Components\featureComponents\MsiFileHash table.
Go to the installexecutesequence table and change the Sequence number of the vendor custom actions too:
IDEA_DongleType (6401) , Single_ServerInstallFail (6402) , IDEADisplayIntroPage_Default6403
IDEADisplayIntroPage_Express6404 ServerIP_FileExists6405 DongleDLL_FileExists6406
DongleDriver_InstallExists6407 DongleDLL_RegNew6408 DongleDLL_IsDongleUtilityCreatable6409
DongleDriver_Install_HLNew6410 Dongle_InstallNowMsg6411 WaitForDongleTobeRecognized6412
DongleDLL_IsIdeaLocal6413 DongleDLL_IsIdeaNet6414 DongleDLL_UnRegNew6415 ISSelfRegisterFiles6500
ScheduleReboot6505
Add the condition "Not Installed AND IDEAConcurrent AND IDEADONGLETYPE=1 AND CBSILENT=1" to the "ServerIP_Run" custom action in the installexecutesequence table.
Delete the custom actions "IDEA_Already_Installed".
Create 4 property`s:
CBSILENT=0
CSERVER=192.168.7.1 * this should be the license server ip adres.
IDEADONGLETYPE=1 ****THIS IS FOR THE NETWORK DONGEL CONFIGURATION ****
IDEADisplayIntroPage=0
In the registry table you can add the "SOFTWARE\CaseWare Idea\Idea\Config\NextUpgradeCheck" Value 0 to disable the updates..
In the Validation table you should add the entry`s:
ServiceControl Name N Text Name of a service. /, \, comma and space are invalid
ServiceControl Component_ N Component 1 Identifier Required foreign key into the Component Table that controls the startup of the service
ServiceControl Event N 0 187 Bit field: Install: 0x1 = Start, 0x2 = Stop, 0x8 = Delete, Uninstall: 0x10 = Start, 0x20 = Stop, 0x80 = Delete
ServiceControl Arguments Y Formatted Arguments for the service. Separate by [~].
ServiceControl Wait Y 0 1 Boolean for whether to wait for the service to fully start
ServiceControl ServiceControl N Identifier Primary key, non-localized token.
Now you can install these packages with the msiexec commando.
View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.