windowsdeploymentiexpress

IExpress 2 and bat file path


I have to install on several machines 3 .exe that needed to be installed with correct order. To do that I created a .bat file to install then.

Start /wait %CD%\x.exe /q
Start /wait %CD%\y.exe /q
Start /wait %CD%\z.exe /q

If I copy the folder and install on the target machines it works. But I want to create a self extracting exe that have the .bat and the 3 .exe.

I'm trying with IExpress 2 but, when i run the .exe created by IExpress i always have the error "windows cannot find the ...file path". Why is %CD% not working? Do I need to change the path to the 3 .exe?


Solution

  • This problem can be solved by both:

    Source: http://knowciscostuff.wordpress.com/2012/06/15/iexpress-tool-on-windows-to-create-self-extracting-exe/