Skip to content
View in the app

A better way to browse. Learn more.

MSFN

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Wrong volume CDROM

Featured Replies

I suggest changing your Office.exe script so that it doesn't use reg keys. Instead, have it just call all the programs directly.

cmdow @ /HID
@echo off

::This for statement does the same thing as all your if statements
::You only need to set this variable once.
::I also edited it to make it slightly more effecient.
for %%i in (D E F G H I J K L M N O P Q R S T) do if exist %%i\CD.TXT do set CDROM=%%i:

TITLE Installing Office And Photoshop

echo Change The CD-ROM
start /wait %systemdrive%\CD.exe

echo Installing Office 2003
start /wait %CDROM%\install\Office\Office.exe

echo Arabic Interface For Office
start /wait %CDROM%\Install\Arabicoffice\Setup.exe

echo Adobe PhotoShop CS ME
start /wait %CDROM%\Install\Photoshop\Setup.exe

EXIT

Removed the IERunonce.dll line because it is not needed in this case. Try copying this code into a new batch and retesting. I think it will solve your problem, although I can't guarantee it. Of course you will have to convert the new batch to an executable as well.

Good luck. Let us know if this works. :)

REG ADD %KEY%\006 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\006 /V 1 /D "%CDROM%\install\Regtweaks.exe" /f

are you importing Registry Tweaks from converted "Regtweaks.cmd" ?

  • Author

the Regtweaks.exe is a cmd file

cmdow @ /HID
@echo off

ECHO.
SET CDROM=
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:
IF EXIST K:\CD.txt SET CDROM=K:
IF EXIST L:\CD.txt SET CDROM=L:
IF EXIST M:\CD.txt SET CDROM=M:
IF EXIST N:\CD.txt SET CDROM=N:
IF EXIST O:\CD.txt SET CDROM=O:
IF EXIST P:\CD.txt SET CDROM=P:

ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %CDROM2%\install\regTweaks.reg

EXIT

i am using the Batch File Compiler to convert it to exe

Black Cloud,

You have a couple of problems, but I'm not sure if they are causing that message you get.

1. In Office.cmd and Regtweaks.cmd replace %CDROM2% with %CDROM%. %CDROM2% isnt set to a CD drive letter in your batch files.

IF EXIST P:\CD.txt SET CDROM=P:

ECHO.
ECHO Applying Registry Tweaks...
REGEDIT /S %CDROM2%\install\regTweaks.reg

2. Your Office batch file overwrites the registry settings set by your RunonceEX batch. This will cause a lot of confusion - some apps might not be installed, other apps might be installed twice. I recommend merging your Office batch into your Runonce batch and make sure you dont duplicate the %KEY%\00x numbers. Or do what Cartoonite suggests.

REG ADD %KEY% /V TITLE /D "Installing Applications" /f
REG ADD %KEY%\001 /VE /D "Installing MultiMedia Tools" /f
REG ADD %KEY%\001 /V 1 /D "%CDROM%\install\SetupFiles\Multimedia.exe" /f
:
:
REG ADD %KEY%\005 /VE /D "Installing Office And Photoshop" /f
REG ADD %KEY%\005 /V 1 /D "%CDROM%\install\SetupFiles\Office.exe" /f
:
:
REG ADD %KEY%\006 /VE /D "Change The CD-ROM" /f
REG ADD %KEY%\006 /V 1 /D "%systemdrive%\CD.exe" /f
REG ADD %KEY%\007 /VE /D "Installing Office 2003" /f
REG ADD %KEY%\007 /V 1 /D "%CDROM2%\install\Office\Office.exe" /f
:
:
REG ADD %KEY%\050 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\050 /V 1 /D "%CDROM%\install\Regtweaks.exe" /f
REG ADD %KEY%\099 /VE /D "Cleaning Up And Rebooting" /f
REG ADD %KEY%\099 /V 1 /D "%CDROM%\install\cleanup.exe" /f

your compiler shows the cmd windows when it is launched

quick batch file converter is superior bec. it is totally silent and does

not show anything. even without cmdow

actually if he uses nlite he can integrate everything with 7z on a single cd.

isn't straight to call directly

REG ADD %KEY%\006 /VE /D "Importing Registry Tweaks" /f
REG ADD %KEY%\006 /V 1 /D "REGEDIT /S %CDROM%\install\regTweaks.reg" /f

and

REG ADD %KEY%\007 /VE /D "Cleaning Up And Rebooting" /f
REG ADD %KEY%\007 /V 1 /D "%CDROM%\install\cleanup.cmd" /f

less code less errors

  • Author

I am sorry dahi

i posted the wrong file

Office

cmdow @ /HID
@echo off

ECHO.
SET CDROM=
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:
IF EXIST K:\CD.txt SET CDROM=K:
IF EXIST L:\CD.txt SET CDROM=L:
IF EXIST M:\CD.txt SET CDROM=M:
IF EXIST N:\CD.txt SET CDROM=N:
IF EXIST O:\CD.txt SET CDROM=O:
IF EXIST P:\CD.txt SET CDROM=P:

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

REG ADD %KEY% /V TITLE /D "Installing Office And Photoshop" /f

REG ADD %KEY%\001 /VE /D "Change The CD-ROM" /f
REG ADD %KEY%\001 /V 1 /D "%systemdrive%\CD.exe" /f

REG ADD %KEY%\002 /VE /D "Installing Office 2003" /f
REG ADD %KEY%\002 /V 1 /D "%CDROM%\install\Office\Office.exe" /f

REG ADD %KEY%\003 /VE /D "Arabic Interface For Office" /f
REG ADD %KEY%\003 /V 1 /D "%CDROM%\Install\Arabicoffice\Setup.exe" /f

REG ADD %KEY%\004 /VE /D "Adobe PhotoShop CS ME" /f
REG ADD %KEY%\004 /V 1 /D "%CDROM%\Install\Photoshop\Setup.exe" /f

start /wait rundll32.exe iernonce.dll,RunOnceExProcess

EXIT

the wright file

Astalavista

what is the version you are use of quick batch file converter

thanks

I am using the lastest version. but i am in communication with the programmer.

the next version will hv a password protected decompiler.

and few other tricks

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.