myselfidem Posted June 18, 2012 Share Posted June 18, 2012 Like I said all your commands will be removed with an Registry Cleaner because the path isn't correct!Already discussed here about this error:http://www.msfn.org/board/topic/150642-how-to-add-shorcuts-for-your-programs-inside-control-panel/page__view__findpost__p__966749Cheers Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 Ok, I agree... but the problem is what HKLM values are not imported... HKCU values are imported...Thank for your patience and help... Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) I export this key from registry:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Mozilla\Thunderbird\Extensions]"eplgTb@eset.com"="C:\\Program Files\\ESET\\ESET NOD32 Antivirus\\Mozilla Thunderbird"I delete key in registry and import trough WPI, doesn't work...cmds[pn]=['{REGEDIT} "%wpipath%\\Install\\Tweaks\\prueba.reg"']; Edited June 18, 2012 by alfreire Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 Ok, I agree... but the problem is what HKLM values are not imported... HKCU values are imported...Thank for your patience and help...I am sure, the first time you forgotten to disable the UAC, for any reason, and with the same reg file after desabling the UAC works fine!However you prefer to keep a registy key with an error! I don't understand.Cheers Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 Ok, I agree... but the problem is what HKLM values are not imported... HKCU values are imported...Thank for your patience and help...I am sure, the first time you forgotten to disable the UAC, for any reason, and with the same reg file after desabling the UAC works fine!However you prefer to keep a registy key with an error! I don't understand.CheersI add this to disable UAC, it's ok...?Windows Registry Editor Version 5.00;Disable User Account Control (UAC)[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]"ConsentPromptBehaviorAdmin"=dword:00000000 "ConsentPromptBehaviorUser"=dword:00000000"EnableInstallerDetection"=dword:00000000"EnableLUA"=dword:00000000"EnableUIADesktopToggle"=dword:00000000"EnableSecureUIAPaths"=dword:00000000"PromptOnSecureDesktop"=dword:00000000"ValidateAdminCodeSignatures"=dword:00000000"FilterAdministratorToken"=dword:00000000[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]"UacDisableNotify"=dword:00000001 Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 To disable the UAC, I use:Windows Registry Editor Version 5.00;--------------------------------------------------------------; - Désactiver le contrôle des comptes d'utilisateurs ( UAC ) -;--------------------------------------------------------------[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]"ConsentPromptBehaviorAdmin"=dword:00000005"EnableLUA"=dword:00000000"PromptOnSecureDesktop"=dword:00000001[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]"UacDisableNotify"=dword:00000001Works fine for me!If you have some trouble with some registry keys, you can add a new thread!Cheers Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 To disable the UAC, I use:Windows Registry Editor Version 5.00;--------------------------------------------------------------; - Désactiver le contrôle des comptes d'utilisateurs ( UAC ) -;--------------------------------------------------------------[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]"ConsentPromptBehaviorAdmin"=dword:00000005"EnableLUA"=dword:00000000"PromptOnSecureDesktop"=dword:00000001[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]"UacDisableNotify"=dword:00000001Works fine for me!If you have some trouble with some registry keys, you can add a new thread!CheersI will try with your settings... I'll tell you the results...Thank you very much for all... ;-) Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) Well, I try with your settings for disable UAC in my laptop with Windows 7 Pro x64 clean install...Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System]"ConsentPromptBehaviorAdmin"=dword:00000005"EnableLUA"=dword:00000000"PromptOnSecureDesktop"=dword:00000001[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]"UacDisableNotify"=dword:00000001I delete this key from registry:Windows Registry Editor Version 5.00[HKEY_LOCAL_MACHINE\SOFTWARE\7-Zip]"Path"="C:\\Program Files\\7-Zip\\""Path64"="C:\\Program Files\\7-Zip\\"I try import key trough WPI with this command:cmds[pn]=['{REGEDIT} "%wpipath%\\Install\\Tweaks\\7zip.reg"'];This is log from WPI:Archivo Log de instalación con WPIProceso de instalación iniciado en: lunes, 18 de junio de 2012 14:28:05Información de WPI: Versión=8.5 Used launcher=true Versión de Internet Explorer=8.0 Conexión a Internet=trueSistema Operativo Sistema Operativo=Win7 Edition ID=Not found ServicePack=1Arquitectura Arquitectura=GenuineIntel String de Arquitectura=Intel(R) Core(TM) i5-2430M CPU @ 2.40GHz ID de Arquitectura=Intel64 Family 6 Model 42 Stepping 7 Número de Procesadores=4 MHz=2394 Tipo de Arquitectura=AMD64 SysArch6432=NOT_DEFINED Bits de Arquitectura=64 64 Bits Reales=true Archivo de Opciones=K:\WPI\UserFiles\useroptions.js Archivo de Configuración=K:\WPI\UserFiles\config.js Network file=K:\WPI\UserFiles\networkoptions.js// Window tab Resolution=0 MainWindowWidth=1024 MainWindowHeight=768 MainWindowX=-1 MainWindowY=-1 InstallerWindowX=25 InstallerWindowY=25// General tab NumCols=3 // --- Timer=true Seconds=30 StartBeepAtSecs=10 // --- Language='es' // --- DefaultInstallPath='default' CustomInstallPath=[''] // --- AbortInstallIfFailure=false ExecuteCommandIfFailure=[''] ContinueWhereFailed=false// Features tab ShowExtraButtons=true DoNotShowIfCD=true USSFSilentMode=false VerifyInstallHDD=false AllowCheckForInternet=false LoadDesktopBeforeInstall=true ReOpenAfterInstall=false DisableCatCheckBoxes=false SortWithinCats=false DisableOnDepsNotMet=true AlwaysUseScrollBar=true DontSplitCats=true InstallByCategory=false ReallyForce=false DisableIfDoGray=false InstallFonts=false ShowCommandInInstaller=true ShowInstallerImages=true AlwaysShowOutputWindow=false EjectCDWhenDone=false DoNotShowIfUSB=false DisableHotKeys=false// Tools tab MonitorResolution=0 MonitorDepth=0 MonitorRefresh=0 // --- ExecuteBeforeEnabled=false ExecuteBeforebit64=false ExecuteBefore=[''] ExecuteAfterEnabled=false ExecuteAfterbit64=false ExecuteAfter=[''] // --- RestartComputer=false RestartType=0 RestartSeconds=30 DoNotLoadDesktop=true // --- LogInstallation=true LogPath=['%systemdrive%\WPI_Log.txt']; TimeStampLogFile=false// Audio tab PlayAudioInInstaller=false InstallAudio=[''] Volume=75 Shuffle=false CopyAudioFolder=false CopyAudioPath=['%systemdrive%\WPI_Audio'] DeleteAudioFolder=false// Sounds tab SndWPIStartCB=false SndWPIStart=['"%wpipath%\Audio\SoundsScheme\Alert.wav"']; SndInstallStartCB=false SndInstallStart=['"%wpipath%\Audio\SoundsScheme\AtBeginning.wav"']; SndInstallSuccessCB=false SndInstallSuccess=['"%wpipath%\Audio\SoundsScheme\Yes.wav"']; SndInstallFailCB=false SndInstallFail=['"%wpipath%\Audio\SoundsScheme\No.wav"']; SndInstallFinishCB=false SndInstallFinish=['"%wpipath%\Audio\SoundsScheme\AtEnd.wav"'];// Style tab Theme='Royale' Skin='SkyBlue' BgPicture='' // --- LayoutStyle=1 // --- ShowToolTips=trueVariables globales: %OSLANG%= %WPIPATH%=K:\WPI %ROOT%=K: %CDROM%= USB=K: %DOSPATH%= %SYSTEMDRIVE%=C: %WINDIR%=C:\Windows %PROGRAMFILES%=C:\Program Files %TEMP%=C:\Users\ADMINI~1\AppData\Local\Temp %SYSDIR%=C:\Windows\System32 %ALLUSERSPROFILE%=C:\ProgramData %USERPROFILE%=C:\Users\Administrador %APPDATA%=C:\Users\Administrador\AppData\Roaming %COMMONPROGRAMFILES%=C:\Program Files\Common FilesLista de los programas a instalar: Trucos Windows-7 Varios1 Elementos, 1 Comandos-----lunes, 18 de junio de 2012 14:28:05 Programa: Trucos Windows-7 Varios ID Único: TRUCOSW71 Ordenar: 000001 Categoría: Sistema lunes, 18 de junio de 2012 14:28:06 - cmd1 Enhorabuena (Código devuelto 0): "C:\Windows\SysWOW64\RegEdit" /S "K:\WPI\Install\Tweaks\7zip.reg" lunes, 18 de junio de 2012 14:28:06 - Instalación Finalizada.-----Número de instalaciones fallidas: 0Proceso de instalación finalizado en: lunes, 18 de junio de 2012 14:28:06The HKLM key is not imported... 7zip.reg Edited June 18, 2012 by alfreire Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 You are asking about a new question without answered about the first question and your new key isnt'correct! Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 (edited) Well, my problem isn't reg files... my problem is that any key from HKLM in not imported... reg values are for examples... I might not explained well...The key attached for 7-zip, it's added to registry by 7-zip 9.27 x64 Alpha version program, not created by me...p.d.: If you want, give me any HKLM valid key to test... Edited June 18, 2012 by alfreire Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 All my keys works fine...But it seems you are trying to install with an USB key. Or I'm wrong? Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 All my keys works fine...But it seems you are trying to install with an USB key. Or I'm wrong?Yes, WPI is on USB pendrive... why...? Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 Like I can see, you have no error inside your last test using WPI! Link to comment Share on other sites More sharing options...
alfreire Posted June 18, 2012 Author Share Posted June 18, 2012 Like I can see, you have no error inside your last test using WPI!Yes, but why not import...? it's by Admin privileges...? I also try add reg key with WinRAR sfx and not work too... If I make cmd file (for run reg file) and run directly work, but if I run cmd file trough WPI don't work... Link to comment Share on other sites More sharing options...
myselfidem Posted June 18, 2012 Share Posted June 18, 2012 Could you please attach your reg file and I will make an test with WPI? 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