Jump to content

Recommended Posts

Posted

Hi,

I have a few cmd's with msi and mst commands within that require to be run from the local disc.

I can copy the content off my WPI disc but in WPI 5.6 what command would I use to call the CMD file from the temp folder ?

Thanks in advance

Zorg


Posted (edited)

The easiest way to accomplish this is to make a batch file to copy the files an then install the application. This way you can use the %temp% variable. Something like:

@echo off
echo Copying files to local disk...
mkdir "%temp%\something"
xcopy * "%temp%\something" /E /Y /F
echo Installing application...
cd "%temp%\something"
start /wait msiexec.exe /i something.msi TRANSFORMS=something.mst /qn
cd ..
rmdir something /S /Q

...then put that batch file in the same folder as your installation files.

Edited by zorphnog

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...