eddy_71 Posted July 14, 2004 Share Posted July 14, 2004 I've searched i think the whole forum for this question but couldn't find it: After compiling the runonceex.cmd file i tested it by doubleclicking on it. After this i went into the registry to see the result. I found that for all my apps there was a line in the reg. My question however is; can i be certain that the apps will install now? I saw that for some apps there were lines like this one: Nero Burning Rom and nothing more and for example moviemaker2 gave this line: \Software\MovieMak\mm20.msi /qn. I'm a bit confused about these differences. Link to comment Share on other sites More sharing options...
WwTIPPYwW Posted July 14, 2004 Share Posted July 14, 2004 huh?why don't you copy/paste your cmd file into a post.have you tested it? Link to comment Share on other sites More sharing options...
Glowy Posted July 15, 2004 Share Posted July 15, 2004 sounds like a few syntax errs in your cmd file.. plz post it in the thread so we can take a look at it Link to comment Share on other sites More sharing options...
eddy_71 Posted July 15, 2004 Author Share Posted July 15, 2004 This is my runonceex.My OS is WinXP Pro SP1RunOnceEx.cmd Link to comment Share on other sites More sharing options...
killerbee Posted July 15, 2004 Share Posted July 15, 2004 hi,please edit your post and use CODE-Tags around you code. It's far more readable in code-tags...cyaKiller Bee Link to comment Share on other sites More sharing options...
Glowy Posted July 16, 2004 Share Posted July 16, 2004 I think that you want this one \Software\MovieMak\mm20.msi /qn to look like this one E:\Software\MovieMak\mm20.msi /qnAm I right?The reason why this doesn't work in your test is probably because you ran the cmd file in a working environment without a cd.txt file in any driveletter, or on the C:, the batch skips that drive.By I saw that for some apps there were lines like this one: Nero Burning Rom and nothing more do you mean there are no values under the HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\01 Key other than Nero Burning Rom?try to change line REG ADD %KEY%\01 /V 1 /D "%CDROM%\Software\Nero\nero63110.exe /no_ui /silent /noreboot" /finto REG ADD %KEY%\01 /V 1 /D "\"%CDROM%\Software\Nero\nero63110.exe\" /no_ui /silent /noreboot" /f Link to comment Share on other sites More sharing options...
mazin Posted July 23, 2004 Share Posted July 23, 2004 To see the complete string, including the CDROM letter, I put a CD in the CD-ROM before running my RunOnceEx.cmd.In this example, there's a file on the inserted CD named "Extract.exe":IF EXIST "D:\C D\Extract.exe" set CDROM=D:IF EXIST "E:\C D\Extract.exe" set CDROM=E:IF EXIST "F:\C D\Extract.exe" set CDROM=F:IF EXIST "G:\C D\Extract.exe" set CDROM=G:IF EXIST "H:\C D\Extract.exe" set CDROM=H:IF EXIST "I:\C D\Extract.exe" set CDROM=I:IF EXIST "J:\C D\Extract.exe" set CDROM=J:When I go to HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx, I should find this string:I:\Software\DotNet\netfx.msi /qbThis is for: REG ADD %KEY%\15 /V 1 /D "%CDROM%\Software\DotNet\netfx.msi /qb" /fSo, I could check the whole string in real conditions, where my CDROM letter is "I". 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