alfreire Posted July 3, 2012 Author Posted July 3, 2012 Many thanks ! But I'll have repeatedly suggested to use: REGEDIT /S as a workaround for Windows 7 x64:http://www.msfn.org/board/topic/157072-help-importing-reg-file-please/page__view__findpost__p__1001560http://www.msfn.org/...ost__p__1002143http://www.msfn.org/...ost__p__1002192I haven't seen the problem about using regedit.exe 64-bit with {REGEDIT} for HKLM 32-bit keys on Windows 7 x64!I'm happy the problem is solved!Regards :blushing: After Many tests I have bundled... I assumed he had tried... I apologize for it... Regards... ;-)
myselfidem Posted July 3, 2012 Posted July 3, 2012 (edited) Don't worry...It was interesting to see the problem about regedit.exe 32-bit and regedit.exe 64-bit using {REGEDIT} with WPI in the context of Windows 7 AIO !Regards*Edit-1: However it's strange because we can read:C:\windows\sysWOW64\regedit.exe- Can someone explain to me what this might be?In a 64-bit version of Windows® 7 (or Windows Vista™), you havetwo "regedit.exe" one is 64-bit and the other is 32-bit: 64-bit: C:\Windows\regedit.exe 32-bit: C:\Windows\SysWOW64\regedit.exeThe same thing with the registry changes under 64-bit machineand Windows® 7 environment. Registry Keys Affected by WOW64It seems using for Windows 7 x64 with WPI: REGEDIT /S the regedit.exe 64-bit is used (%Windir%\regedit.exe)And using {REGEDIT} the regedit.exe 32-bit is executed (%Windir%\SysWOW64\regedit.exe) and keys are redirected.*Edit-2: However works also fine using {REGEDIT}:config.jsprog[pn]=['Tweaks'];uid[pn]=['TWEAKS'];ordr[pn]=[23];dflt[pn]=['yes'];forc[pn]=['no'];bit64[pn]=['yes'];cat[pn]=['Applications'];pfro[pn]=['no'];cmds[pn]=['{x86} {REGEDIT} "%wpipath%\\Install\\Tweaks\\PowerMenu_x86.reg"','{x64} {REGEDIT} "%wpipath%\\Install\\Tweaks\\PowerMenu_x64.reg"'];desc[pn]=['Tweaks'];pn++;WPI_Log.txt Windows 7 x64mardi 3 juillet 2012 18:56:26 Programme: Tweaks ID unique: TWEAKS Ordre: 000023 Catégorie: Applications mardi 3 juillet 2012 18:56:26 - cmd1 *** Skipped *** (Architecture incorrecte): {x86} {REGEDIT} "%wpipath%\Install\Tweaks\PowerMenu_x86.reg" mardi 3 juillet 2012 18:56:27 - cmd2 Succès (Code de retour 0): "C:\Windows\System32\RegEdt32" /S "D:\wpi\Install\Tweaks\PowerMenu_x64.reg" mardi 3 juillet 2012 18:56:27 - Installation terminée.WPI_Log.txt Windows 7 x86mardi 3 juillet 2012 19:20:48 Programme: Tweaks ID unique: TWEAKS Ordre: 000023 Catégorie: Applications mardi 3 juillet 2012 19:20:49 - cmd1 Succès (Code de retour 0): "RegEdit" /S "D:\wpi\Install\Tweaks\PowerMenu_x86.reg" mardi 3 juillet 2012 19:20:49 - cmd2 *** Skipped *** (Architecture incorrecte): {x64} {REGEDIT} "%wpipath%\Install\Tweaks\PowerMenu_x64.reg" mardi 3 juillet 2012 19:20:49 - Installation terminée. Edited July 3, 2012 by myselfidem
alfreire Posted July 3, 2012 Author Posted July 3, 2012 Thanks for the new ideas, but I prefer the earlier works... Regards... ;-)
myselfidem Posted August 30, 2012 Posted August 30, 2012 (edited) About the registry keys to disable UAC.The best choice is to use the first one you gave inside this thread, because the values are correct.Windows Registry Editor Version 5.00;-----------------; - Disable UAC -;-----------------[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]"ConsentPromptBehaviorAdmin"=dword:00000000"ConsentPromptBehaviorUser"=dword:00000003"EnableInstallerDetection"=dword:00000001"EnableLUA"=dword:00000000"EnableSecureUIAPaths"=dword:00000001"EnableUIADesktopToggle"=dword:00000000"EnableVirtualization"=dword:00000001"PromptOnSecureDesktop"=dword:00000000"ValidateAdminCodeSignatures"=dword:00000000"dontdisplaylastusername"=dword:00000000"legalnoticecaption"="""legalnoticetext"="""scforceoption"=dword:00000000"shutdownwithoutlogon"=dword:00000001"undockwithoutlogon"=dword:00000001"FilterAdministratorToken"=dword:00000000"HideFastUserSwitching"=dword:00000000[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]"UacDisableNotify"=dword:00000001Cheers Edited August 30, 2012 by myselfidem
alfreire Posted August 30, 2012 Author Posted August 30, 2012 Look here http://msdn.microsoft.com/en-us/library/cc232762%28v=PROT.10%29.aspxThere is not value 0000003 for "ConsentPromptBehaviorUser" Could you explain this value...? I Values'll check again, and I will comment...Thanks for help me again... Regards... ;-)
myselfidem Posted August 30, 2012 Posted August 30, 2012 All about the values with UAC: UAC Group Policy Settings and Registry Key SettingsCheers
alfreire Posted August 30, 2012 Author Posted August 30, 2012 Thanks by link... I still do not understand this:ConsentPromptBehaviorUser0 = Automatically deny elevation requests1 = Prompt for credentials on the secure desktop3 (Default) = Prompt for credentials on the secure desktop It makes no sense, values 1 and 3 are equals, and value 2 it's missing... Regards... ;-)
myselfidem Posted August 30, 2012 Posted August 30, 2012 It seems there is a little description error inside the layout, but if you read on the same link given about:ConsentPromptBehaviorUserWe can read:The User Account Control: Behavior of the elevation prompt for standard users policy setting controls the behavior of the elevation prompt for standard users.The options are:Automatically deny elevation requests. When an operation requires elevation of privilege, a configurable access denied error message is displayed. An enterprise that is running desktops as standard user may choose this setting to reduce help desk calls.Prompt for credentials on the secure desktop. (Default) When an operation requires elevation of privilege, the user is prompted on the secure desktop to enter a different user name and password. If the user enters valid credentials, the operation continues with the applicable privilege.Prompt for credentials. When an operation requires elevation of privilege, the user is prompted to enter an administrative user name and password. If the user enters valid credentials, the operation continues with the applicable privilege.Here is the difference!Cheers
alfreire Posted August 30, 2012 Author Posted August 30, 2012 (edited) I changed my settings for yours... Thanks, friend... ;-) Edited August 30, 2012 by alfreire
myselfidem Posted August 31, 2012 Posted August 31, 2012 Thanks! I know it's out of this thread...but could you try to use these values for testing OSver and OSeditionID, to see if it works for your Windows 7 version (maybe yours is spanish?):http://www.msfn.org/board/topic/156785-wpi-v859-release-thread/page__view__findpost__p__1009595Thanks in advance.
Kelsenellenelvian Posted September 1, 2012 Posted September 1, 2012 Actually from your studies and change it should work fine now.
alfreire Posted September 6, 2012 Author Posted September 6, 2012 Thanks! I know it's out of this thread...but could you try to use these values for testing OSver and OSeditionID, to see if it works for your Windows 7 version (maybe yours is spanish?):http://www.msfn.org/board/topic/156785-wpi-v859-release-thread/page__view__findpost__p__1009595Thanks in advance.Sorry, I read your request in a moment when there was no time, and as was marked as read, I forgot... I hope you accept my apology...Regards... ;-)
myselfidem Posted September 7, 2012 Posted September 7, 2012 (edited) I think you have now (if you have a full version es-ES | 1034), inside information window:language = "ESP"localisation = "Spanish - Spain (Traditional Sort)" Edited September 7, 2012 by myselfidem
myselfidem Posted June 28, 2013 Posted June 28, 2013 However about regedit.exe we can change inside installer.js:http://www.msfn.org/board/topic/158273-wpi-86-and-beyond-bugbugfix-thread/page__view__findpost__p__1043118Thanks and regards
jimathome Posted August 25, 2013 Posted August 25, 2013 (edited) I ran in to the same problem rather than fool around and try to understand WHY the darn thing will not import through WPI I made a Winrar SFX and called it from my Autounattend.xmlCreate WinRAR SFXCompression: StorePlace SFX script commands in tab commands:----- START SFX SCRIPT ------;The comment below contains SFX script commandsSetup=Regedit.exe /I /s Install.regTempModeSilent=1Overwrite=1----- END SFX SCRIPT ----------- START Autounattend.xml ------ <FirstLogonCommands> <SynchronousCommand wcm:action="add"> <Order>1</Order> <CommandLine>%Systemdrive%\WPI\WPI.exe</CommandLine> <Description>Program Installation</Description> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>2</Order> <CommandLine>fsutil behavior set EncryptPagingFile 1</CommandLine> <Description>Encrypt the Pagefile</Description> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>3</Order> <CommandLine>%Systemdrive%\Finsh_Install\Windows7_Setup.exe</CommandLine> <Description>System Setup</Description> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>4</Order> <CommandLine>%Systemdrive%\Finsh_Install\Finsh_Install.exe</CommandLine> <Description>System Setup Folder To Desktop</Description> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> <SynchronousCommand wcm:action="add"> <Order>5</Order> <CommandLine>%Systemdrive%\Finsh_Install\Cleanup.exe</CommandLine> <Description>Cleanup</Description> <RequiresUserInput>false</RequiresUserInput> </SynchronousCommand> </FirstLogonCommands> <LogonCommands>----- END Autounattend.xml ------ Edited August 25, 2013 by jimathome
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now