vakhal Posted May 25, 2005 Share Posted May 25, 2005 i was reading the expert section of the msfn guide ,and it says you can install your programs from the cd instead of copying them to the hard drive.the methods used are runonceex from cdwindows post installerwindows installation helper utilityxplodeBut...what if you are using batchfilescan it still be done or do i have to start using runonceex again(i've tryed using runonceex before and didn't like it much)i hope someone can help. Link to comment Share on other sites More sharing options...
Yzöwl Posted May 25, 2005 Share Posted May 25, 2005 Yes, runonceex.cmd is a batch file! Link to comment Share on other sites More sharing options...
vakhal Posted May 25, 2005 Author Share Posted May 25, 2005 ohh...i thought that because it contains reg values it was different.so all i have to do is replace the %systemdrive% to %cdrom% and it will work. Link to comment Share on other sites More sharing options...
BoardBabe Posted May 26, 2005 Share Posted May 26, 2005 Not really You got alot to learn about batch files... Link to comment Share on other sites More sharing options...
erik_demon Posted May 26, 2005 Share Posted May 26, 2005 (edited) %cdrom% by itself is not a permanent variable.therefor you have to put this line on top of your runonceex.cmdFOR %%i IN (D E F G H I J K L M N O P Q R S T U V W X Y Z) DO IF EXIST %%i:\CD.txt SET CDROM=%%i:and the file cd.txt has to be on the root of your CD.check it out here:EDIT:to get back on your last question:ohh...i thought that because it contains reg values it was different.This is like BoardBabe already said not true. the command REG ADD is a commandline utity to add values to the register. It doesn't contain reg values. Edited May 26, 2005 by erik_demon Link to comment Share on other sites More sharing options...
vakhal Posted May 26, 2005 Author Share Posted May 26, 2005 ok...thanks for all your responsessorry i was a bit vauge in my posts,but you answered my question.....i'ii have to try it out tonightbye Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now