bergx Posted May 11, 2004 Posted May 11, 2004 I am trying to convert my installation to use the Runonceex. In one of the entries I call a batch procedure, which executes. However, if the batch procedure failes for a reason (e.g. exit 1) it just continues with the other entries and nothing shows that something has failed. Is it possible and how to stop further execution and give a clear warning that something has failed using runonceex?regardsXaveer
maxXPsoft Posted May 11, 2004 Posted May 11, 2004 You can add flags but I don't think theres a way to stop it.SET KEY=HKLM\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceExREG ADD %KEY% /V TITLE /D "Installing Applications" /fREG ADD %KEY% /v Flags /t REG_DWORD /d "30" /f0x00000010 Create Error Log File Create C:\Windows\RunOnceEx.err file if errors occur 0x00000020 Create Execution Log File Create a C:\Windows\RunOnceEx.log file with status of commands http://support.microsoft.com/default.aspx?scid=KB;fr;q232509
bergx Posted May 11, 2004 Author Posted May 11, 2004 I added this value FLAGS=DWORD:00000030 but no logfiles created.I have not tried yet the XPlode-utility instead of the RunOnceEx. Will that give me more errorhandling control?regardsXaveer
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