Question Is there a command line option to specify a file for the import into the software manager database? How can I add this command to a task in one of my Process Templates?
Answer The command to import Window Installer packages is a call to wfwi.exe.
The command line to WFWI.EXE is: wfwi.exe /i=%tempfile% --where %tempfile% is the full path to the ini/que file.
The command line to import script packages such as .WSE/.EXE files is a call to Wise32.exe. Wise32.exe /i=%tempfile% --where %tempfile% is the full path to the ini/que file.
The INI file has the format: [Database Info] Connect String= The connect string for the connected database (usually includes passwords DSN=datasource name - if a password is required, Wise will prompt for it). DSN=datasource name (Either Connect String or DSN is required. If both are included, the Connect string is used). Application=Application name Package=Package name Script=path to the file to import/export BaseMSI=path to base .MSI if script is a transform Transform1=second transform to apply Transform2=third transform to apply (Continue adding additional transforms following this same format). Transact=Yes if transactions should be used (optional) Executable=Compiled Wise Exe to use (optional) Operation=Import/Export/Merge - Import means import into conflict manager database. Delete=No if you don't want this file deleted after import (optional) Silent=Yes to run silently Overwrite=Yes to overwrite an existing application/package without prompting NoTouch=Yes
If you want to implement this command line within Project Task under the Projects tab, follow these steps:
1.) In Workbench, select Process Templates from the Edit Menu. 2.) From the Process Templates, duplicate Customize with MSI using Transform. 3.) Right click under the Process and click the Add Task button. 4.) The Task Name dialog appears. Fill in the information: Task Name: Enter a name such as Import .MSI with transform Applied. Tool: Workbench Tool Option: Select <Import Package Into Software Manager Database>. 5.) Click the Define button and the Tool Configuration dialog appears. 6.) Click the Add button. 7.) In the Name Field: Enter a Tool Name. Command Line: Enter wfwi.exe /i=%tempfile% 8.) Click OK. Close Process Template.
Imported Document ID: HOWTO9078
Subscribing will provide email updates when this Article is updated. Login is required.