jigsaw5063 Posted October 17, 2014 Share Posted October 17, 2014 (edited) Hi I have a problem with WinToolkitRunOnce.exe and that just will not start.I do not want on my DVD folder 'WinToolkit_Apps', I want the folder 'Software' or similar.WinToolkitRunOnce.exe start only if the folder 'WinToolkit_Apps'If on the %DVD% not available Wintoolkit_Apps folder then nothing is found I tried to edit the registry but without success, RunOnce will not start[HKEY_LOCAL_MACHINE\SOFTWARE\WinToolkit]"00000|ChromeSetupX64"="%DVD%:\Software\ChromeSetupX64\ChromeSetupX64.exe*"I also tried to set the file 'install.ini' but does not work, just will not run runonce#Any line starting with a # are comments and will be ignored.#Lets you specify the configuration of the installers#InstallDir is where your apps are located.#DriverDir is which directories to scan for inf files.#Reboot makes RunOnce reboot Windows after completion.#NOTE: INSTALLDIR will ALWAYS check the following directories even if not specified in the config section:#INSTALLDIR=Sources\WinToolkit_Apps#INSTALLDIR=WinToolkit_Apps[Config]INSTALLDIR=%DVD%:\SoftwareDRIVERDIR=Sources\Drivers#Here are some other samples.#INSTALLDIR=E:\Software#DRIVERDIR=X:\MyDriverCollectionREBOOT=FALSE#Things which will always get installed. Anything after * is a switch i.e. /S /Q /Silent[Automatic]#KBXXXXXX-x64=%DVD%:\WinToolkit_Apps\Windows6.1-KBXXXXXX-x64\Windows6.1-KBXXXXXX-x64.msu#User will be asked to choose which of the following apps to install.[Manual]Google Chromex64=%DVD%:\Software\ChromeSetupX64\ChromeSetupX64.exe*#Microsoft Office 2013=%DVD%:\WinToolkit_Apps\Office2013\Setup.exe*/configure %DVD%:\WinToolkit_Apps\Office2013\config.xml#Example 1=%DVD%:\WinToolkit_Apps\ExampleProgram\Example.exe*/sDVD one my WinToolkit_RunOnce_Log.logVersion: 1.5.2.918.10.2014 3:58:31 Description:-----------------STARTING--------------18.10.2014 3:58:31 Description: IsSystem: FalseIsAdministrator: TrueUser: JIGSAW\dfd18.10.2014 3:58:31 Description: Creating Shutdown Handle.18.10.2014 3:58:31 Description: Loading...18.10.2014 3:58:31 Description: Detecting Drives18.10.2014 3:58:31 Description:DRIVE SCAN------------------------------Drive: C:\, Media Type: Fixed, Size: 33283895296, Free: 19588681728, Name: , Initial: TrueDrive: D:\, Media Type: Fixed, Size: 20847783936, Free: 6113918976, Name: , Initial: TrueDrive: E:\, Media Type: Fixed, Size: 21731733504, Free: 21298372608, Name: Nova jedinica, Initial: True------------------------------18.10.2014 3:58:31 Description: Detecting Paths18.10.2014 3:58:31 Description: Detecting Sources18.10.2014 3:58:32 Description: INI Found: D:\sources\install.ini18.10.2014 3:58:32 Description: Install Location Found: Setup D:\Software18.10.2014 3:58:32 Description: ERROR INI P1: Google ChromexSP2: %DVD%:\Software\ChromeSetupX64\ChromeSetupX64.exeP3:18.10.2014 3:58:32 Description: Detecting Drivers18.10.2014 3:58:32 Description: x64: True18.10.2014 3:58:32 Description: Removing Duplicates.18.10.2014 3:58:32 Description: No Installations.18.10.2014 3:58:42 Description: Starting18.10.2014 3:58:42 Description: Manual: 0 | Driver: 0 | Auto: 018.10.2014 3:58:42 Description: InstallPaths: 118.10.2014 3:58:42 Description: Deleting dpinst.exe18.10.2014 3:58:42 Description: Removing Shutdown Handle.And to mention WinToolkit RunOnce.exe will not delete itself. Heelp!Thanks! Edited October 18, 2014 by jigsaw5063 Quote Link to comment Share on other sites More sharing options...
jigsaw5063 Posted October 20, 2014 Author Share Posted October 20, 2014 (edited) I am partially solved the problem so I am 'WinToolkit_Apps' folder marked as hidden.but problem is WinToolkitRunOnce.exe will not delete after finished installing softwarehow can I fix it ? Edited October 20, 2014 by jigsaw5063 Quote Link to comment Share on other sites More sharing options...
Legolash2o Posted October 21, 2014 Share Posted October 21, 2014 When you say the folder was marked as hidden. Did you have it so all the files are marked as hidden too? I accidentally left the code which tells it to delete itself commented. Just fixed that now. EDIT: I've noticed you've put:%DVD%:\Software\ChromeSetupX64\ChromeSetupX64.exeIt should be%DVD%\Software\ChromeSetupX64\ChromeSetupX64.exeWinToolkit should still work with that though. But worth trying. Quote Link to comment Share on other sites More sharing options...
jigsaw5063 Posted October 21, 2014 Author Share Posted October 21, 2014 When you say the folder was marked as hidden. Did you have it so all the files are marked as hidden too? I accidentally left the code which tells it to delete itself commented. Just fixed that now. EDIT: I've noticed you've put:%DVD%:\Software\ChromeSetupX64\ChromeSetupX64.exeIt should be%DVD%\Software\ChromeSetupX64\ChromeSetupX64.exeWinToolkit should still work with that though. But worth trying.No, it not working, working only if on DVD WinToolkit_Apps folder.Why WinToolkitRunOnce.exe can't be itself deleted after closing ? Quote Link to comment Share on other sites More sharing options...
Legolash2o Posted October 21, 2014 Share Posted October 21, 2014 Oops I just noticed you have%DVD%\Software\ChromeSetupX64\ChromeSetupX64.exeSince you have specified D:\Software. it would become D:\Software\Software\.... so it needs to be%DVD%\ChromeSetupX64\ChromeSetupX64.exe Why WinToolkitRunOnce.exe can't be itself deleted after closing ?I forget to un-comment the line of code which told it to delete itself. The fix is in the latest version. Quote Link to comment Share on other sites More sharing options...
jigsaw5063 Posted October 21, 2014 Author Share Posted October 21, 2014 now it work [Config]INSTALLDIR=Software[Manual]Google Chrome x64=%DVD%\ChromeSetupX64\ChromeSetupX64.exethanks! Quote Link to comment Share on other sites More sharing options...
spinalgr Posted September 27, 2021 Share Posted September 27, 2021 Why I get that error ? Quote Link to comment Share on other sites More sharing options...
pawelnrg Posted January 9, 2022 Share Posted January 9, 2022 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.