Our software doesn't like to install from a CD (actually we are up to a DVD). It tries to write the log file back to the DVD and because it can't it doesn't install some needed files.
However if I go to a command prompt window and then run it from the DVD it works, like this;
C:\Windows\Temp>f:\autoplay\software\setup.exe
because then it can write the log file.
So on the script for the button I put this;
01 "Folder.SetCurrent("C:\\Windows\Temp");
02 result = File.Run("AutoPlay\\Software\\Setup.exe", "C:\\Windows\\Temp", "", SW_SHOWNORMAL, false);
I hoped the double redundancy would help but it didn't. It still wants to write the log in the wrong place and so doesn't install completely.
Is there some way to do run an install as if I am running it from the hard drive, like a command window? I would rather not copy it to the hard drive and run from there because that takes too much time.
Thanks
Lee
However if I go to a command prompt window and then run it from the DVD it works, like this;
C:\Windows\Temp>f:\autoplay\software\setup.exe
because then it can write the log file.
So on the script for the button I put this;
01 "Folder.SetCurrent("C:\\Windows\Temp");
02 result = File.Run("AutoPlay\\Software\\Setup.exe", "C:\\Windows\\Temp", "", SW_SHOWNORMAL, false);
I hoped the double redundancy would help but it didn't. It still wants to write the log in the wrong place and so doesn't install completely.
Is there some way to do run an install as if I am running it from the hard drive, like a command window? I would rather not copy it to the hard drive and run from there because that takes too much time.
Thanks
Lee
Comment