paulus4605 Posted October 28, 2005 Share Posted October 28, 2005 (edited) I'm just trying to figure out how everything is working before I start with a major installation process during setup.what I did is created just one cmd to install skype silently however when windows is starting up I get the error message that it can't find the setupskype.exe file.In order to do this I created a INSTALL folder on my c drive, en I also did this in the windows unattended setup files where I copied the setup.exe file into but this doesn't do the trick either :-(then I tried to execute this cmd and I get this error message mentioned abovecan someone tell me what I'm doing wrong?this is the code cmdow @ /HID@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installeren van Programma's" /fREG ADD %KEY%\000 /VE /D "skype 1.4" /fREG ADD %KEY%\000 /V 1 /D "%PP%SkypeSetup.exe /VERYSILENT /SP-" /fEXITthanks for your helpPaul Edited October 28, 2005 by paulus4605 Link to comment Share on other sites More sharing options...
ShawNee1 Posted October 28, 2005 Share Posted October 28, 2005 (edited) This is what part of mine looks like. I dont know what the command %PP% does ?, but should'nt it be %PP%\SkypeSetup.exe. You have no \ in yours.cmdow @ /HID@echo offFOR %%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:\win51ip.SP2 SET CDROM=%%i:SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Unattended Program Installation" /fDEL "%systemroot%\Cursors\*.cur"REG ADD %KEY%\010 /VE /D "Removing Windows ZIP Folders" /fREG ADD %KEY%\010 /V 1 /D "%systemroot%\System32\regsvr32.exe /s /u zipfldr.dll" /fREG ADD %KEY%\011 /VE /D "My Hosts" /fREG ADD %KEY%\011 /V 1 /D "%CDROM%\Support\Stuff\Hosts.exe" /f Edited October 28, 2005 by ShawNee1 Link to comment Share on other sites More sharing options...
paulus4605 Posted October 28, 2005 Author Share Posted October 28, 2005 @Shawnee I don't know if I need to add a slash since this automaticly generated by the Runoncecmd creator.so this is why I don't understand why it doesn't workin the runonce creator I did select the following : include CMDOW with program Path set to %SystemDrive%\Install\then in description I altered the line from the data base because in here is only skype .95 beta (modified this to Skype 1.4 and safed the file as skype.cmdwhich contains the following script :cmdow @ /HID@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Programs" /fREG ADD %KEY%\000 /VE /D "skype 1.4" /fREG ADD %KEY%\000 /V 1 /D "%PP%SkypeSetup.exe /VERYSILENT /SP-" /fEXITsince the PP variable is mentioned with the slashed I don't think I have to repeat the slash at the command line or am I wrongthanks for the help and feedbackPaul Link to comment Share on other sites More sharing options...
MHz Posted October 28, 2005 Share Posted October 28, 2005 If you expand PP then PP is fine.error message that it can't find the setupskype.exe file. is different to SkypeSetup.exe you have in your script? Link to comment Share on other sites More sharing options...
paulus4605 Posted October 28, 2005 Author Share Posted October 28, 2005 @Mhz I translated the errormessage ruffly this morning since I'm Dutch and it was still early however this is the current situation.or can I remove the PP and simply add %systemdrive%\Install\skypesetup.exe and make sure I have the skype setupfile in the c:\install directory?which of the options should work the best?thanks for your help and feedback.Paul Link to comment Share on other sites More sharing options...
Yzöwl Posted October 28, 2005 Share Posted October 28, 2005 Just make sure that you have a file named SkypeSetup.exe in your source structure at \$OEM$\$1\Install, and your command will work fine. Link to comment Share on other sites More sharing options...
eagle00789 Posted October 28, 2005 Share Posted October 28, 2005 I'm just trying to figure out how everything is working before I start with a major installation process during setup.what I did is created just one cmd to install skype silently however when windows is starting up I get the error message that it can't find the setupskype.exe file.In order to do this I created a INSTALL folder on my c drive, en I also did this in the windows unattended setup files where I copied the setup.exe file into but this doesn't do the trick either :-(then I tried to execute this cmd and I get this error message mentioned abovecan someone tell me what I'm doing wrong?Are the filenames in the CMD and the FileName of the SkypSetup identical. that means, they have to be the exact same name...this is the code cmdow @ /HID@Echo OffSET PP=%SystemDrive%\Install\SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installeren van Programma's" /fREG ADD %KEY%\000 /VE /D "skype 1.4" /fREG ADD %KEY%\000 /V 1 /D "%PP%SkypeSetup.exe /VERYSILENT /SP-" /fEXITthanks for your helpPaulyour .cmd file looks ok to me.(btw, i'm the creator of the tool RunOnceEx.cmd creator) Link to comment Share on other sites More sharing options...
paulus4605 Posted October 28, 2005 Author Share Posted October 28, 2005 Ok I did get it to work but had to replace the PP command and write the full script out like %systemdrive%\Install\ and so on thanks for your help Link to comment Share on other sites More sharing options...
ojojpogee Posted October 30, 2005 Share Posted October 30, 2005 wanna asky i got error running runonceex creator after installation?something wrong?`Excetion EResNotFound in module RunOnceEx.exe at 0002161D. Resource__not found Link to comment Share on other sites More sharing options...
eagle00789 Posted October 30, 2005 Share Posted October 30, 2005 wanna asky i got error running runonceex creator after installation?something wrong?`Excetion EResNotFound in module RunOnceEx.exe at 0002161D. Resource__not foundPlease ask this question in the right thread.(still to answer it, i have no clue why you get that message. your the first who has reported it) 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