DougSchuess Posted May 5, 2014 Posted May 5, 2014 (edited) Install of files, generated with WTK, completes without calling Wintoolkit_Apps (RunOnce). Files generated starting with downloaded Win7 x86 SP1 using Win7 x86 SP1 computer. See attached session file for what was done. The Wintoolkit_Apps directory and subdir are created, just not used.BTW - why does the session file name contain date and time twice?2014-05-04_06-56-22_2014-05-04_06-56-22 Win7 x86 #204.ini Edited May 5, 2014 by DougSchuess Quote
© KEiGHT Posted May 5, 2014 Posted May 5, 2014 (edited) search in folder SOURCES for a file called Install.ini !Open it and see if you have these lines exactly as I have ! [Config]INSTALLDIR=%DVD%:\WinToolkit_Apps Edited May 5, 2014 by © KEiGHT Quote
DougSchuess Posted May 6, 2014 Author Posted May 6, 2014 (edited) install.ini does not have the line. I have pasted the file contents below. Can I manually edit the file to add the line and rerun the install as a work-around?#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=Sources\AppsDRIVERDIR=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]#Microsoft Office 2013=%DVD%:\WinToolkit_Apps\Office2013\Setup.exe*/configure %DVD%:\WinToolkit_Apps\Office2013\config.xml#Example 1=%DVD%:\WinToolkit_Apps\ExampleProgram\Example.exe*/s Edited May 10, 2014 by bphlpt added spoiler tags Quote
© KEiGHT Posted May 6, 2014 Posted May 6, 2014 (edited) Yes , you can modify that line ! Do as I said up there ! Modify at ; [Config]INSTALLDIR=Sources\Apps with [Config]INSTALLDIR=%DVD%:\WinToolkit_Apps Edited May 6, 2014 by © KEiGHT Quote
DougSchuess Posted May 6, 2014 Author Posted May 6, 2014 (edited) Modified file, pasted below, also did not execute RunOnce. I am installing from a USB flash drive to a live (separate) hard drive partition. Should "%DVD%" still be used?#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%:\WinToolkit_AppsDRIVERDIR=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]#Microsoft Office 2013=%DVD%:\WinToolkit_Apps\Office2013\Setup.exe*/configure %DVD%:\WinToolkit_Apps\Office2013\config.xml#Example 1=%DVD%:\WinToolkit_Apps\ExampleProgram\Example.exe*/s Edited May 10, 2014 by bphlpt added spoiler tags Quote
© KEiGHT Posted May 7, 2014 Posted May 7, 2014 (edited) from USB you may use %SOURCEDIR% [Config]INSTALLDIR=%SOURCEDIR%:\WinToolkit_Apps Edited May 7, 2014 by © KEiGHT Quote
DougSchuess Posted May 7, 2014 Author Posted May 7, 2014 I will try your suggestion. Where can I find a list of other literals (%DVD%, %SOURCEDIR%) used by the install process? Quote
© KEiGHT Posted May 8, 2014 Posted May 8, 2014 (edited) If %SOURCEDIR% doesn't work neither, wait for WIncert Admins, for further instructions ! Personally, I install from USB HDD and HDD single Partition and... [Config]INSTALLDIR=%DVD%:\WinToolkit_Apps works for me Maybe you have something else wrong in this case ! You still use this version v1.4.37.20Please use latest build from here : http://www.wincert.net/leli55PK/Testing/ and come back with news Make sure to uncheck Delete Silent Installers from OPTIONS when you are prepared to start the compilation Edited May 8, 2014 by © KEiGHT Quote
© KEiGHT Posted May 8, 2014 Posted May 8, 2014 (edited) Install of files, generated with WTK, completes without calling Wintoolkit_Apps (RunOnce). Files generated starting with downloaded Win7 x86 SP1 using Win7 x86 SP1 computer. See attached session file for what was done. The Wintoolkit_Apps directory and subdir are created, just not used.BTW - why does the session file name contain date and time twice?that file is set by default with time and date, you may delete and rename it as you wish that file and removed it from installation DIR after created(no needed) ! Edited May 8, 2014 by © KEiGHT Quote
DougSchuess Posted May 9, 2014 Author Posted May 9, 2014 (edited) I ran WTK -> AIO with bare minimum (no additional drivers, tweaks or updates, just silent installer). RunOnce (SilentInstaller) ran fine. Install.ini does not have either of your suggested changes to it. I have pasted the file contents below. Refer last session .ini file name: The prompt for the file name (when AIO -> start is pressed) has a single date/time instance, but the actual file has the date/time in the name twice - i.e "2014-05-04_23-02-30_2014-05-04_23-02-30.ini"#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=Sources\AppsDRIVERDIR=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]#Microsoft Office 2013=%DVD%:\WinToolkit_Apps\Office2013\Setup.exe*/configure %DVD%:\WinToolkit_Apps\Office2013\config.xml#Example 1=%DVD%:\WinToolkit_Apps\ExampleProgram\Example.exe*/s Edited May 10, 2014 by bphlpt added spoiler tags Quote
© KEiGHT Posted May 10, 2014 Posted May 10, 2014 (edited) Please, put just the lines in discussion to have a clear conversation ! otherwise, we flood this forum. just [config] lines So, now is working you say!Verify the list of your additional drivers or software you wanna implement with Toolkit, because it seems there is something which you missed ! Second place to verify is here : Load from Toolkit, Advanced Tab, WIM Registry Editor> WIM_SOFTWARE , and search for WinToolkit Key!Here is what you add to be installed, you can make changes or you may see what is not correctly added.If you made some changes there, when you're out, don't forget to click SAVE IMAGE ! Edited May 10, 2014 by © KEiGHT Quote
bphlpt Posted May 10, 2014 Posted May 10, 2014 @DougSchuessPlease, put just the lines in discussion to have a clear conversation ! otherwise, we flood this forum. just [config] linesTo streamline the thread you can use [ spoiler ] [ /spoiler ] tags, (without the extra spaces of course), as I have added for you in your posts above, but when referring to the same file over and over, when only a few lines are changing, it doesn't make sense to keep listing the entire file every time. So after listing the file once, you should do as Keight suggests and only list the changing lines of the file to help focus the readers attention. Cheers and Regards Quote
DougSchuess Posted May 11, 2014 Author Posted May 11, 2014 I went to the registry editor as instructed above. The desired registry entries for my silent installs are present ( and pasted below), but RunOnce is not executed.While testing, I have found a second bug. The last session.ini file is not generated in either %Program Files%\WinToolkit\LastSessions directory or in the install files root. When I pressed "start" (to start the WTK integration process), I was not presented with the question box for what to name the file. Should I create a new topic for this, or continue this one? [HKEY_LOCAL_MACHINE\WIM_Software\WinToolkit]"00000|DoubleDriver"="|%DVD%:\\WinToolkit_Apps\\DoubleDriver\\DoubleDriver.exe*""00001|EasyBCD 2.2"="|%DVD%:\\WinToolkit_Apps\\EasyBCD_2.2\\EasyBCD_2.2.exe*/S""00002|NetworkIndicatorSetup"="%DVD%:\\WinToolkit_Apps\\NetworkIndicatorSetup\\NetworkIndicatorSetup.exe*""00003|vcredist_x86"="|%DVD%:\\WinToolkit_Apps\\vcredist_x86\\vcredist_x86.exe*/passive /norestart""00004|MicrosoftCodecPack_x86"="|%DVD%:\\WinToolkit_Apps\\MicrosoftCodecPack_x86\\MicrosoftCodecPack_x86.msi*/passive /norestart""00005|IE11-Windows7-x86-en-us"="%DVD%:\\WinToolkit_Apps\\IE11-Windows7-x86-en-us\\IE11-Windows7-x86-en-us.exe*/passive /closeprograms" Quote
bphlpt Posted May 11, 2014 Posted May 11, 2014 While testing, I have found a second bug. The last session.ini file is not generated in either %Program Files%\WinToolkit\LastSessions directory or in the install files root. When I pressed "start" (to start the WTK integration process), I was not presented with the question box for what to name the file. Should I create a new topic for this, or continue this one? Liam would appreciate it if you created a different thread. It helps him keep the bugs sorted as to which ones he has addressed and which ones he has not. TIA Cheers and Regards Quote
© KEiGHT Posted May 11, 2014 Posted May 11, 2014 IE11-Windows7-x86-en-us must be added as Integrated update in Updates along with his prerequisites installers Quote
DougSchuess Posted May 13, 2014 Author Posted May 13, 2014 I desire to have "IE11-Windows7-x86-en-us" to be an optional install. Must it be integrated? I will open a new topic to report the other error that I discovered. Quote
© KEiGHT Posted May 13, 2014 Posted May 13, 2014 He needs prerequisites before it is installed ! ; The following are prerequisites for installing IE 11 x64[Prerequisites]WIN7_SP1=KB2834140 KB2670838 KB2639308 KB2533623 KB2731771 KB2729094 KB2786081 KB2888049 KB2882822 Quote
DougSchuess Posted May 14, 2014 Author Posted May 14, 2014 I am aware of the prerequisites. I took them out of the AIO run when attempting to narrow down why RunOnce is not executed. Quote
© KEiGHT Posted May 17, 2014 Posted May 17, 2014 (edited) You have right, RunOnce don't start with x64 ! only with x86 will work ! Edited May 17, 2014 by © KEiGHT Quote
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.