WinNTSetup v2.3 small tool to Setup Windows from an(y) win32 environment.
#22
Posted 15 March 2011 - 03:06 PM
#23
Posted 16 March 2011 - 08:10 AM
With XP, I was able to use a cmdlines.txt in \$WIN_NT$.~LS\$OEM$\ to add a RunOnceEx.cmd etc. to do my customizing. The structure for this is created using V1 of WintNTSetup, but With V2, I no longer see a structure to do this. Even though V2 allows regtweaks, I cannot determine how these tweaks are run. I was hoping to find a way to adapt the XP way of doing things to Win7. Is it possible?
Thanks..
This post has been edited by click-click: 16 March 2011 - 09:25 AM
#24
Posted 16 March 2011 - 03:32 PM
So for windows 7 winntsetup loads the registry hives of the prepared windows installation and writes the tweaks directly.
I don't know if there is an alternative to cmdlines.txt in windows vista or later
#25
Posted 16 March 2011 - 04:59 PM
JFX, on 16 March 2011 - 03:32 PM, said:
So for windows 7 winntsetup loads the registry hives of the prepared windows installation and writes the tweaks directly.
I don't know if there is an alternative to cmdlines.txt in windows vista or later
Is there a readable version of the regtweaks and how they are applied by V2?
I'd like to get an idea how I could add application registry entries for preloaded software that I copy to Win7.
I have the .reg entries for each application and need to apply them to both HKLM and HKCU keys. I assume
all of the V2 regtweaks apply to the HKLM system and software hives only. Is that correct?
This post has been edited by click-click: 16 March 2011 - 05:15 PM
#26
Posted 20 March 2011 - 06:26 AM
click-click, on 16 March 2011 - 04:59 PM, said:
tweaks.au3 (9.55K)
Number of downloads: 23
IF you want RunOnceEx method similar to http://unattended.ms...xp/view/web/31/ then try following:
After Winntsetup finished create a folder on the installtion drive called install
Add your software to that folder.
create a cmd file inside this folder, like the following and run it.
@echo off Reg Load HKLM\OFFLINE_SOFTWARE %~d0\Windows\system32\config\software SET KEY=HKLM\OFFLINE_SOFTWARE\Microsoft\Windows\CurrentVersion\RunOnceEx REG ADD %KEY% /V TITLE /F /D "Installing Applications" REG ADD %KEY%\005 /VE /F /D "Java Runtime 6" REG ADD %KEY%\005 /V 1 /F /D "%systemdrive%\install\jre-6u24-windows-i586-s.exe /s /qb /norestart" REG ADD %KEY%\010 /VE /F /D ".NetFX 4.0" REG ADD %KEY%\010 /V 1 /F /D "%systemdrive%\install\dotNetFx40_Full_x86_x64.exe /norestart /passive" REG ADD %KEY%\015 /VE /F /D "AutoIt v3" REG ADD %KEY%\015 /V 1 /F /D "%systemdrive%\install\Autoit3\autoit-v3-setup.exe /s" REG ADD %KEY%\015 /V 2 /F /D "%systemdrive%\install\Autoit3\SciTE4AutoIt3.exe /s" reg unload HKLM\OFFLINE_SOFTWARE
This post has been edited by JFX: 20 March 2011 - 06:27 AM
#27
Posted 21 March 2011 - 03:12 PM
#28
Posted 23 March 2011 - 07:34 AM
The following tweaks did not seem to work for me:
Show Take Ownership to context menu -> do not see this on any of the context menus
Show Cmd.exe Icon on context menu -> only shows with shift Right-Click
Disable Language Bar -> Still appears on taskbar (did not see this tweak in tweaks.au3 file)
Disable System Restore -> Still enabled for drive C: (DisableSR entry not present in registry. Tried adding this entry and made no difference)
I did not apply the following tweaks:
Show all tray icons
XP-like taskbar icons
Disable Aero Transparency
Disable Automatic Restart on WU
Force XP Partition Mode for new partitions
Disable Pagefile
The rest looks good. One tweak in the tweaks.au3 (NoSecurityWarning4DownloadedFiles) is not selectable in the GUI for Win7
Thanks...
#29
Posted 23 March 2011 - 12:18 PM
the DisableSR doesn't not completely disable system restore, but at least it set the reserved space to 0%, what should have the same effect.
This post has been edited by JFX: 23 March 2011 - 12:21 PM
#30
Posted 24 March 2011 - 03:48 AM
The program looks quite good elsewise.
#31
Posted 25 March 2011 - 04:45 AM
FAT16 will be selectable for boot drive in next version.
#32
Posted 26 March 2011 - 02:59 AM
This post has been edited by lama: 26 March 2011 - 03:00 AM
#33
Posted 28 March 2011 - 02:59 AM
lama, on 26 March 2011 - 02:59 AM, said:
hmm, what could be wrong here?
However, I will not add support for any Warez release. Use a clean, preferable unmodded Windows version.
#34
Posted 28 March 2011 - 05:58 PM
I can prep XP on a VMware virtual disk and it boots fine, but not Win 7. If I select the left tab with the W7 vmdk as the target, I see a green NTLDR PBR If I use the right tab, the BOOTMGR PBR is red. Any ideas?
Thanks
This post has been edited by click-click: 28 March 2011 - 05:59 PM
#35
Posted 29 March 2011 - 12:03 PM
After formating the drive under Windows XP, the Partition will have a NTLDR loading PBR.
The MBR of the mounted disk is not visible to the Host OS. So MBR and Boot Flag will be red.
Main problem is that tools like bootsect or bootice can not change the PBR of a VMware mounted partition.
I'm not sure how i solve this in future versions, but you can try following:
After Winntsetup has finished make a copy of bootmgr in the selected bootdrive and rename it to NTLDR.
#36
Posted 29 March 2011 - 04:29 PM
This post has been edited by click-click: 29 March 2011 - 04:35 PM
#37
Posted 30 March 2011 - 03:22 AM
I have found a way to detect a mounted Vmware partition, so next version should not show this error.
And hopefully make it boot able somehow.
This post has been edited by JFX: 30 March 2011 - 03:24 AM
#38
Posted 30 March 2011 - 09:57 AM
#39
Posted 31 March 2011 - 05:06 AM
Even after updating the PBR and create a correct BCD store, bootmgr will at least try to boot the OS, but fail in a black screen.
There is a good reason why the checkbox for read-only mounting is always set, the driver corrupts data.
VMware is very immune against bug reports, so i don't think this will be fixed anytime.
There maybe is a solution, the vmlite guy's have written their own driver which can mount vdi/vhd and vmdk images.
It's in the current version of VBoot
works very good so far:
vbootctl.exe mount "VMware.vmdk" vbootctl.exe umount Z:
This post has been edited by JFX: 31 March 2011 - 05:29 AM
#40
Posted 01 April 2011 - 02:39 AM
- automatic decompression of ntldr/setupldr/bootmgr on NTFS compressed drives
- drive selection will not accept read only drives for boot- and installation drive
- improved VHD creation and installation*
- added option for instant creation of fixed VHD's
- added support for FAT16 and exFat boot drives
*VHD creation now uses diskpart script like this
create vdisk file="C:\Windows7.vhd" maximum=25600 type=(fixed|expandable) select vdisk file="C:\Windows7.vhd" attach vdisk create partition primary align=(32|64|128|256|512|1024|2048) active format quick fs=ntfs label="Win7 VHD" uint=(512|1024|2048|4096|8192|16K|32K|64K) assign letter=X:
In rare cases without setting fs=ntfs, diskpart will format the partition with FAT32.
Partition now active and the installation to a VHD will now create boot files inside the Vdisk too. (So you can boot this VHD also in VirtualBox)
Further due to the long time required by creating big fixed VHD's, there a new option: instant creation of fixed VHD's
Also added Alignment and Allocation option to GUI.
- ← Help me detect what kind of BCD
- Install Windows from USB
- How to install Windows from USB- WinSetupFromUSB with GUI →



Help

Back to top









