josywong Posted August 12, 2021 Share Posted August 12, 2021 hw to use runafter in gui? im trying to run a batch file, for wmic baseboard to copy specific exe files Link to comment Share on other sites More sharing options...
JFX Posted August 12, 2021 Author Share Posted August 12, 2021 What you type in the input box will be passed to a hidden cmd.exe. cmd /c "%input%" 1 Link to comment Share on other sites More sharing options...
josywong Posted August 13, 2021 Share Posted August 13, 2021 13 hours ago, JFX said: What you type in the input box will be passed to a hidden cmd.exe. cmd /c "%input%" thanks it worked. but its nt saved into winntsetup.ini can i request it to have it saved in ini? smth like runafter=cmd /c "%input%" preferably in winnt6\ready after oem line Link to comment Share on other sites More sharing options...
JFX Posted August 13, 2021 Author Share Posted August 13, 2021 Yes, it will be added as an ini option. But after reviewing the code I think I'll change that function. I guess v5 is Beta ready at the end of this month... 1 Link to comment Share on other sites More sharing options...
JFX Posted August 30, 2021 Author Share Posted August 30, 2021 WinNTSetup 5.0 Beta 1 - mounting boot partition is disabled by default - combobox list to select boot and installation drive - MRU feature for most inputs - mounted ISO in VHD menu will stay alive - mounted ISO sources will be save with ISO names to ini - regimport supports HKEY_CURRENT_USER\Software\Classes (UsrClass.dat) - regimport will effect all existing user profiles - separate disable Windows Defender tweak (-nodefender command line) 3 Link to comment Share on other sites More sharing options...
josywong Posted August 31, 2021 Share Posted August 31, 2021 fail to detect fs type if open winnt > format > search location > error ntfs nt detected works fine if, properly formatted > open winnt nice gui for the dropdown tho Link to comment Share on other sites More sharing options...
JFX Posted August 31, 2021 Author Share Posted August 31, 2021 (edited) Not sure what you mean, the format dialog will only show file systems that are supported by windows format engine. Edited August 31, 2021 by JFX Link to comment Share on other sites More sharing options...
josywong Posted September 1, 2021 Share Posted September 1, 2021 (edited) could nt reproduce the bug now. nt sure hw i did it. it was nt detecting the hdd fs that i had it formatted using winntsetup "run diskpart script" had been using the same script. its working nw... edit: the bug run diskpart script > use the new dropdown menu to pick location, select the disk ( not refreshed) , nt able to pick > use old search button, pick the location > it show as selected > continue with setup > please choose a ntfs drive. usually after we used search button, and picked. the location info(size and fs) will show. the above will show as blank(as if nt selected) Edited September 1, 2021 by josywong reproduced bug 1 Link to comment Share on other sites More sharing options...
wimb Posted September 1, 2021 Share Posted September 1, 2021 On 8/30/2021 at 11:50 AM, JFX said: WinNTSetup 5.0 Beta 1 - mounting boot partition is disabled by default - combobox list to select boot and installation drive - MRU feature for most inputs - mounted ISO in VHD menu will stay alive - mounted ISO sources will be save with ISO names to ini - regimport supports HKEY_CURRENT_USER\Software\Classes (UsrClass.dat) - regimport will effect all existing user profiles - separate disable Windows Defender tweak (-nodefender command line) Is there an option to keep boot partition mounted ? That can be handy if after WinNTSetup you wish to make modifications on hidden EFI drive by using BOOTICE. When a combobox selection is overruled by the drive selector then the description wrongly still corresponds to the combobox selection Link to comment Share on other sites More sharing options...
JFX Posted September 1, 2021 Author Share Posted September 1, 2021 Yes, can be set in the ini file. [Options] NoBootMount=0 1 Link to comment Share on other sites More sharing options...
wimb Posted September 2, 2021 Share Posted September 2, 2021 17 hours ago, JFX said: Yes, can be set in the ini file. [Options] NoBootMount=0 Thank you, it is working good Link to comment Share on other sites More sharing options...
JFX Posted September 7, 2021 Author Share Posted September 7, 2021 WinNTSetup 5.0 Beta 2 - fixed drive combo not updated after run diskpart script - fixed drive combo not showing drive letter from DefineDosDevice - fixed drive combo on classic selection - new dikspart GUI with selectable disk and warn dialog - ini option nodownload added - command line source accepts wildcard 3 Link to comment Share on other sites More sharing options...
josywong Posted September 8, 2021 Share Posted September 8, 2021 13 hours ago, JFX said: WinNTSetup 5.0 Beta 2 - fixed drive combo not updated after run diskpart script - fixed drive combo not showing drive letter from DefineDosDevice - fixed drive combo on classic selection - new dikspart GUI with selectable disk and warn dialog - ini option nodownload added - command line source accepts wildcard can i get more details for this? - command line source accepts wildcard have not try hw it works. i assume it will be sysletter will be used by runafter cmd batch script using %sysletter% ? or RunAfter=Y:\Programs\WinNTSetup3\Tools\*.cmd drive combo looks good atm. and nice diskpart gui. i did mistakenly cleaned wrong drive before lol Link to comment Share on other sites More sharing options...
JFX Posted September 8, 2021 Author Share Posted September 8, 2021 I was tired to update my batch files for every new Win 11 ISO, so the following will pick the first matching iso: WinNTSetup_x64.exe NT6 -source:E:\ISOs\22*.iso RunAfter does not have wildcard support. Variables can be accessed in a batch: %_build% %_drivers% %_source% %_syspart% %_tempdrive% 1 Link to comment Share on other sites More sharing options...
wimb Posted September 11, 2021 Share Posted September 11, 2021 (edited) On 9/7/2021 at 4:57 PM, JFX said: WinNTSetup 5.0 Beta 2 The program is working excellent and can be used for booting Windows 11x64 Applied in Compact LZX mode in VHD using WOF UnCompression of boot critical driver files in DriverStore according to [PrepopulateList] section of generated \Windows\System32\WimBootReCompress.ini file How is determined from registry what drivers should be in the [PrepopulateList] section of WimBootReCompress.ini file ? For Capture I think the [ExclusionList] section of WimScript.ini file can be enhanced and improved so that it is more like the [ExclusionList] section of WimBootCompress.ini file that is normally used in Compact and WimBoot mode. Windows 11x64 Compact LZX in VHD UsedSize = 5.7 GB - Mini-11x64 Compact LZX in VHD as RAMDISK UsedSize = 2.1 GB Edited September 12, 2021 by wimb 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