Jump to content

Help with switches for WMP 10 pls...


Alex

Recommended Posts

@echo off

IF EXIST D:\CD.txt set CDROM=D:

IF EXIST E:\CD.txt set CDROM=E:

IF EXIST F:\CD.txt set CDROM=F:

IF EXIST G:\CD.txt set CDROM=G:

IF EXIST H:\CD.txt set CDROM=H:

IF EXIST I:\CD.txt set CDROM=I:

IF EXIST J:\CD.txt set CDROM=J:

SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx

REG ADD %KEY% /V TITLE /D "Installing Applications" /f

REG ADD %KEY%\005 /VE /D "Windows Media Player 10" /f

REG ADD %KEY%\005 /V 1 /D "D:\Trialxpcd\Software\MP10Setup.exe /q:A /c:\"setup_wm.exe /Q /R:N

EXIT

this is part of my RunOnceEx.cmd testing (the path is changed from %CDROM% to D:\... for trial purposes). All other progs switches working fine on trial (i just double click RunOnceEx.cmd and reboot).

When double click RunOnceEx.cmd and reboot WMP 10 does not install and no mistakes. Other progs installs testing this way, reader does not. Could someone correct switches?

Thanks for help in advance,

Alex

Link to comment
Share on other sites


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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...