Jump to content

TFPriest

Member
  • Posts

    4
  • Joined

  • Last visited

  • Donations

    0.00 USD 
  • Country

    Sweden

Everything posted by TFPriest

  1. Making a little headway with this problem of mine. I found out now by adding: REG ADD "HKLM\Software\Microsoft\IE Setup\Setup" /v "RunOnceExLogFile" /d "RunOnceExLog.txt" /f I get my Log file in %windir% So my test file finally looks like: SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Testing" /f REG ADD %KEY% /V Flags /t REG_DWORD /d 32 /f REG ADD "HKLM\Software\Microsoft\IE Setup\Setup" /v "RunOnceExLogFile" /d "RunOnceExLog.txt" /f REG ADD %KEY%50 /VE /D "Test with Notepad" /f REG ADD %KEY%50 /V 1 /D "%windir%\notepad.exe" /f Now to try for the error log file, and see if I can control all of this in any way more.
  2. Hi Yzöwl, I saw that, and was thinking the same thing, but then I also found MS article Q310593 which states towards the bottom: Error Handling: If an exception occurs while calling a function in a DLL, the exception is caught and an error dialog box is displayed to the user. You can suppress this error dialog box by using a flag in the RunOnceEx registry key. You can also set a flag to enable log errors and run the RunOnceEx registry key. And at the bottom it applies to: APPLIES TO • Microsoft Windows XP Home Edition • Microsoft Windows XP Professional • Microsoft Windows XP Professional for Itanium-based systems So I'm still holding out hope Thanks alot for your time though.
  3. Hi, Thanks alot for the reply. Corrected my entry and tested again, still no log file unfortunately. Here's one test I'm trying : SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Testing" /f REG ADD %KEY% /V Flags /t REG_DWORD /d 0x20 /f REG ADD %KEY%50 /VE /D "Test with Notepad" /f REG ADD %KEY%50 /V 1 /D "%windir%\notepad.exe" /f I've tried different combinations with the flag entry, no success at all with any log file. I'm assuming I'm doing something wrong, but this is uncharted territory for me. Any and all suggestions are greatly appreciated.
  4. Hi, Has anyone been able to get the log file function for the RunOnceEx key working? I've tried the various combinations to create a log file in C:\Windows\ that are listed in MS document Q232509. Maybe I'm missing something from the "flags" description, and how to utilize it. cmdow @ /HID @ECHO Off SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /D "Installing Applications" /f REG ADD %KEY% /V Flags /t REG_DWORD /d 30 /f REG ADD %KEY%05 /VE /D "MS Office 2003" /f REG ADD %KEY%05 /V 1 /D "%systemdrive%\Install\O2k3\Setup.exe /qb-" /f REG ADD %KEY%10 /VE /D "MS Office 2003 SP 2" /f REG ADD %KEY%10 /V 1 /D "%systemdrive%\Install\O2k3SP2\MAINSP2ff.msp /qb-" /f REG ADD %KEY%20 /VE /D "MS Office 2003 Swedish MUI SP 2" /f REG ADD %KEY%20 /V 1 /D "%systemdrive%\Install\O2k3MUISP2\MUISP2-SVEff.msp /qb-" /f REG ADD %KEY%25 /VE /D "MS Win XP Swedish MUI Pack" /f REG ADD %KEY%25 /V 1 /D "%systemdrive%\Install\XPMUI\MUISetup.exe -i 041d -d041d -r -s" /f REG ADD %KEY%30 /VE /D "Preparing Install Extra Apps" /f REG ADD %KEY%30 /V 1 /D "%systemdrive%\Install\Batch\RunOnceEx.cmd" /f EXIT Thanks for any suggestions.
×
×
  • Create New...