Create batch file for iexpress

I am trying to use iexpressto run my batch file, which will execute for me 2 exe files and 1 msi. when I try to do it manually, it works.

Below is the code in my batch file.

Start /wait %CD%\1.exe /q
Start /wait %CD%\2.exe /q
msiexec.exe /i "%CD%\3.msi" 

but this does not seem to work when I create an exe file from iexpress. enter image description here

Link

There is code in the above article (for copying files to temp folder), but I can not understand the syntax.

MKDIR %Tmp%\<UNIQUE PRODUCT NAME>
XCOPY . %Tmp%\<UNIQUE PRODUCT NAME> /S /E /Y
%Tmp%\<UNIQUE PRODUCT NAME>\setup.exe
+3
source share
5 answers

, , , command.com, cmd.exe. ( , IExpress command.com. Ouch.) , , %cd% %~dp0.

, . IExpress, :

cmd.exe /c file.bat

.

(.. IExpress) xcopy .

+2

:

1) (MKDIR) "UNIQUE PRODUCT NAME" , %TMP% Environment Variable, : C:\DOCUME ~ 1\_\LOCALS ~ 1\Temp

MKDIR %Tmp%\<UNIQUE PRODUCT NAME>

2) . XCOPY:

/S , .

/E , .             , /S /E. /T.

/Y ,             .

XCOPY . %Tmp%\<UNIQUE PRODUCT NAME> /S /E /Y

3) , % TMP%\\setup.exe

,

+2

%CD% %~dp0

, 1.exe , script.

0

% CD% . , CMD ( CMD/x CMD/y ), % CD%

SET CURDIR=%CD%
Start /wait "%CURDIR%\1.exe" /q 
Start /wait "%CURDIR%\2.exe" /q 
msiexec.exe /i "%CURDIR%\3.msi" 

, exe (APPDATA) .

0

. , msi .exe .

,

echo on

SET CURDIR=%CD%

msiexec.exe /i "%CURDIR%\1.msi"

"%CURDIR%\3.EXE"

"%CURDIR%\setup.exe"

echo off

exe msi yourfile.bat. - Iexpress, exe , http://www.f2ko.de/programs.php?pid=b2e

, , , "Invisible Application" , . exe . " Exit" , . .exe. Bingo!! , .

Start your Iexpress tool and add all your files present in the batch file (except the batch file). On the "Install the program to run" screen, leave the "Install message" command blank and look for " demo.exe " in the "Install a program" drop-down list and continue to create a complete set of one package. Hooray!!

0
source

All Articles