Jump to content

Problem with CMD -->(to) EXE (Quick Batch File C.)


Recommended Posts

Posted

yesterday i got the same idea...

but i only used the command line...

...i will have a try later

import cmd and run... okay


Posted

wtf?

äh... whats the differenz between 64kb or 144kb

64 = Ie

144 = qbfc

always...

i found something interessting:

*EDIT*...

Programm is buggy.. under my system it doesn't work very good.. i converted it in virtual maschine and than it works... wtf? **** it...

Posted

I dont understand that crap...in windows the exe works fine... while installtion nothing happen... ****

Posted
I dont understand that crap...in windows the exe works fine... while installtion nothing happen... ****

What are you referring to? Batch compiled to an exe using QBFC?

Posted

yes... the batches are working... (everytime)

the compiled exe of the batch files (if they work) - WORK! gg (after a 2. or 3. try of compiling)

the EXE work in WINdows... NOT while installtion

so in commandlines setupparms etc. the exe doesn't work... *?* !

Posted

Quick Batch File Compiler is not working all the time. Sometimes your compilation works, sometimes it doesn't. I don't write the code directly in Quick Batch File Compiler. I write my code on notepad and save it as .bat, and open it with Quick Batch File Compiler, and compile it. I don't know why, but writing the code directly gives me problem most of the time. It is a bug, I think.

Posted

you want batches...okay

1. Batch (T-12)

CMDOW @ /HID

@ECHO OFF

START /WAIT BOOTCFG /RAW "/bootlogo /noguiboot" /A /ID 1

START /WAIT LABEL SYSTEM

START /WAIT SUBST H: "%USERPROFILE%\EIGENE DATEIEN"

EXIT

2. Batch (RunOnce @ T-9)

CMDOW @ /HID

@ECHO OFF

FOR %%C IN (C: 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 %%C\WIN51 SET CDROM=%%C

FOR %%M IN (%SYSTEMROOT%\EHOME\) DO IF EXIST %%M\EHSHELL.EXE SET REGMCE=REG

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

REG ADD %KEY% /V TITLE /D "Installation der letzten Komponenten - %DATE%" /F

%REGMCE% ADD %KEY%\010 /VE /D "WXP HOTFIX - KB885523" /F

%REGMCE% ADD %KEY%\010 /V 1 /D "%CDROM%\$OEM$\PROGS\EXE\KB885523.EXE /Q /N /Z" /F

%REGMCE% ADD %KEY%\015 /VE /D "MCE HOTFIX - KB888316" /F

%REGMCE% ADD %KEY%\015 /V 1 /D "%CDROM%\I386\SVCPACK\KB888316.EXE /Q /N /Z" /F

%REGMCE% ADD %KEY%\020 /VE /D "UPDATEROLLUP 1 - KB873369" /F

%REGMCE% ADD %KEY%\020 /V 1 /D "%CDROM%\I386\SVCPACK\MC05UPD1.EXE /Q /N /Z" /F

REG ADD %KEY%\022 /VE /D "Autologin - KNARZ" /F

REG ADD %KEY%\022 /V 1 /D "REGEDIT /S %CDROM%\$OEM$\$$\TEMP\LOGIN.REG" /F

REG ADD %KEY%\025 /VE /D "TuneUp Utilities 2004" /F

REG ADD %KEY%\025 /V 1 /D "%CDROM%\$oem$\progs\msi\tuneup.msi ALLUSERS=1 INSTALLDIR=%ProgramFiles%\System\TuneUp /passive" /F

REG ADD %KEY%\030 /VE /D "Microsoft Office 2003 Professional" /F

REG ADD %KEY%\030 /V 1 /D "%CDROM%\$OEM$\OFFICE11\SETUP.EXE TRANSFORMS=KNARZ.MST /QB-" /F

REG ADD %KEY%\035 /VE /D "Temp-Ordner leeren" /F

REG ADD %KEY%\035 /V 1 /D "%CDROM%\$OEM$\$$\TEMP\TUNEUP.VBS" /F

REG ADD %KEY%\036 /V 1 /D "%CDROM%\$OEM$\$$\TEMP\CLEAN.CMD" /F

EXIT

____________________________

3. BATCH (T-9 Secound Xlpode install)

CMDOW @ /HID

@ECHO OFF

FOR %%C IN (C: 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 %%C\WIN51 SET CDROM=%%C

%CDROM%\$OEM$\PROGS\XPLODE\XPLODE.EXE /XML:"#XPLODE#\XPLODE2.XML"

EXIT

____________________________

4. Batch (Cleanup under Runonce)

CMDOW @ /HID

@ECHO OFF

RD /S /Q "%PROGRAMFILES%\COMPLUS APPLICATIONS"

RD /S /Q "%PROGRAMFILES%\MICROSOFT FRONTPAGE"

RD /S /Q "%PROGRAMFILES%\MEDIA PLAYER CLASSIC"

RD /S /Q "%PROGRAMFILES%\MOVIE MAKER"

RD /S /Q "%PROGRAMFILES%\MSN GAMING ZONE"

RD /S /Q "%PROGRAMFILES%\NETMEETING"

RD /S /Q "%PROGRAMFILES%\ONLINE-DIENSTE"

RD /S /Q "%PROGRAMFILES%\XEROX"

START /WAIT RD %TEMP% /S /Q

START /WAIT MD %TEMP% /S /Q

EXIT

__________________________

FOR QBFC:

i only use the content... without the following commands...

CMDOW @ /HID

@ECHO OFF

EXIT

if echo or not...makes no difference...

---------------

using: qbfc;

load cmd -> delete lines -> compile...

copy cmd lines -> paste in qbfc -> compile...

write in qbvd -> compile...

nothing worked during installtion...

best way would be to let the cmds, cmds... with cmds all works fine.. but i hate this popup window... grrrr...

Posted

Why do you still add this?

CMDOW @ /HID

You don't need that if you are using the "Ghost" feature. :P

Also, I don't add the "EXIT" command at the end of my batch file if I compile it on QBFC.

Posted
FOR QBFC:

i only use the content... without the following commands...

CMDOW @ /HID

@ECHO OFF

EXIT

:whistle::whistle:

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
  • Recently Browsing   0 members

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