Quantcast
Channel: PowerShell.com – PowerShell Scripts, Tips, Forums, and Resources
Viewing all articles
Browse latest Browse all 6937

Creating a Powershell Script Using InstallShield Switches

$
0
0

Hi,

I'm trying to convert a batch file that's using InstallShield/MSI switches into a Powershell script and not having any success.

Here's an example of the batch file:

SET workdir=H:\Apps and Drivers\Enterprise Apps\Class\Class_7.2_SP1

@set CLASSDIR=\"C:\Program Files (x86)\Class for Windows\7.21\"

@set DBDIR=\"C:\Program Files (x86)\Class for Windows\7.21\Databases\"

"%workdir%\Setup\setup.exe" /V" /i INSTALLINDIR=%CLASSDIR% DBINDIR=%DBDIR% LOGFILE=%LOGFILE% KEEPEXISTING=1"

 

Any Ideas?

Thanks


Viewing all articles
Browse latest Browse all 6937

Trending Articles