Sereby Posted June 15, 2006 Share Posted June 15, 2006 hi guys..i have a big problem with the RunOnceEx option of Windows XP.i add the following code (to test it) into registryWindows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx]"TITLE"="Installing Applications"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\001]@="Preparing Installation...""1"="C:\\WINXP\\Software\\prepare.cmd"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\015]@="Alcohol 120 Percent""1"="C:\\WINXP\\Software\\alcohol\\setup.exe /qn Reboot=Suppress""2"="REGEDIT /S C:\\WINXP\\Software\\alcohol\\register.reg"[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx\025]@="Diskeeper 8.0.478""1"="C:\\WINXP\\Software\\Diskeeper\\DiskeeperPro_8.0.478.exe /s /v/qn"but when i want to start it with "rundll32.exe iernonce.dll,RunOnceExProcess" or by restarting the computer nothing happens!it just removes the "TITLE" from HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx.but if i add the code and remove the "@="Diskeeper 8.0.478"" ans so on it executes the programs but dont show the runonceex window -.- so i could use runonce instead of because it do absolute the same.please tell me why it doesnt show the gui and how i can solve this problem Link to comment Share on other sites More sharing options...
Yzöwl Posted June 15, 2006 Share Posted June 15, 2006 Is your registry file created correctly?To correctly create a registry file, your header must be followed by a blank line and the file should end with two blank linesIf you use the Windows Registry Editor Version 5.00 header, the file should be encoded in Unicode format,(UCS-2 Little Endian).Using the REGEDIT4 header, the file should be encoded in ANSI format.Take a look at the attached example files:runex.reg is an incorrectly formed registry file, (what you've posted).a_runex.reg is a correctly formed registry file in ANSI formatu_runex.reg is a correctly formed registry file in Unicode formatNote the difference in size between the a_runex.reg and u_runex.reg files.runex.zip Link to comment Share on other sites More sharing options...
Sereby Posted June 15, 2006 Author Share Posted June 15, 2006 i think thats not the problem! my problem is that it dont execute the runonceex however i add the entries!i test them because i want to add them from a .inf file in xp setup Link to comment Share on other sites More sharing options...
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