MSFN Forum: Help importing reg file, please... - MSFN Forum

Jump to content


  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

Help importing reg file, please... Rate Topic: -----

#21 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 05:12 AM

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:00000001


Works fine for me!

If you have some trouble with some registry keys, you can add a new thread!

Cheers





#22 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 05:25 AM

View Postmyselfidem, on 18 June 2012 - 05:12 AM, said:

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:00000001


Works fine for me!

If you have some trouble with some registry keys, you can add a new thread!

Cheers

I will try with your settings... I'll tell you the results...

Thank you very much for all... ;-)

#23 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 06:33 AM

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:00000001


I 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 WPI

Proceso de instalación iniciado en: lunes, 18 de junio de 2012 14:28:05

Información de WPI:
   Versión=8.5
   Used launcher=true
   Versión de Internet Explorer=8.0

   Conexión a Internet=true

Sistema Operativo
   Sistema Operativo=Win7
   Edition ID=Not found
   ServicePack=1

Arquitectura
   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=true

Variables 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 Files

Lista de los programas a instalar:
   Trucos Windows-7 Varios

1 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: 0

Proceso de instalación finalizado en: lunes, 18 de junio de 2012 14:28:06


The HKLM key is not imported... :huh:

Attached File(s)

  • Attached File  7zip.reg (312bytes)
    Number of downloads: 5

This post has been edited by alfreire: 18 June 2012 - 06:34 AM


#24 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 06:43 AM

You are asking about a new question without answered about the first question and your new key isnt'correct!

#25 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 06:55 AM

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...

This post has been edited by alfreire: 18 June 2012 - 06:56 AM


#26 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 07:04 AM

All my keys works fine...But it seems you are trying to install with an USB key. Or I'm wrong?

#27 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 07:05 AM

View Postmyselfidem, on 18 June 2012 - 07:04 AM, said:

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...?

#28 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 07:13 AM

Like I can see, you have no error inside your last test using WPI!

#29 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 07:19 AM

View Postmyselfidem, on 18 June 2012 - 07:13 AM, said:

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... :no:

#30 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 07:24 AM

Could you please attach your reg file and I will make an test with WPI?

#31 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 07:28 AM

View Postmyselfidem, on 18 June 2012 - 07:24 AM, said:

Could you please attach your reg file and I will make an test with WPI?

http://www.msfn.org/...attach_id=34496
This file by example... I export that key from registry, delete key and try import with WPI, but not work... If run reg file directly work perfect...

#32 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 08:38 AM

View Postmyselfidem, on 18 June 2012 - 05:12 AM, said:

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:00000001


Works fine for me!

If you have some trouble with some registry keys, you can add a new thread!

Cheers

I search info for "ConsentPromptBehaviorAdmin" and I think my setting value "0" it's correct, not found "5" value from Microsoft... can you tell me it means "5" value...? :unsure:
http://msdn.microsof...%28v=prot.10%29

    Key: SOFTWARE\Microsoft\Windows\CurrentVersion\Policies\System

    Value: "ConsentPromptBehaviorAdmin"

    Type: REG_DWORD

    Data: This MUST be a value in the following table.

    Value
    	

    Meaning

    0x00000000
    	
    This option SHOULD be used to allow the Consent Admin to perform an operation that requires elevation without consent or credentials.

    0x00000001
    	
    This option SHOULD be used to prompt the Consent Admin to enter his or her user name and password (or another valid admin) when an operation requires elevation of privilege.

    0x00000002
    	
    This option SHOULD be used to prompt the administrator in Admin Approval Mode to select either "Permit" or "Deny" an operation that requires elevation of privilege. If the Consent Admin selects Permit, the operation will continue with their highest available privilege. "Prompt for consent" removes the inconvenience of requiring that users enter their name and password to perform a privileged task.

This post has been edited by alfreire: 18 June 2012 - 08:39 AM


#33 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 09:01 AM

Yes, you are right, it's better to use the correct values:

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:00000000
"EnableLUA"=dword:00000000
"PromptOnSecureDesktop"=dword:00000000

[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Security Center]
"UacDisableNotify"=dword:00000001



After a new test, all reg files are successfully installed with, BUT WITH MY REG FILE TO DISABLE UAC:

cmd1 Succès (Code de retour 0): "C:\Windows\SysWOW64\RegEdit" /S "D:\wpi\Install\Tweaks\PowerMenu.reg"


WPI_Log.txt
Spoiler

This post has been edited by myselfidem: 28 June 2012 - 01:11 AM


#34 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 09:19 AM

So, where can be the problem ...? :blink:

#35 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 09:23 AM

Maybe you can try this reg file! Same folder you used: "WPI\Install\Tweaks\PowerMenu.reg"

*Edit: After testing the reg file I given with the MS values...Doesn't work! The problem is Disabling UAC
Attached file removed.

This post has been edited by myselfidem: 28 June 2012 - 01:12 AM


#36 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 09:37 AM

   lunes, 18 de junio de 2012 17:33:49  - cmd1 Enhorabuena (Código devuelto 0): "C:\Windows\SysWOW64\RegEdit" /S "J:\WPI\Install\Tweaks\PowerMenu.reg"


Not work with WPI... If I run PowerMenu.reg direclty work ok...

This post has been edited by alfreire: 18 June 2012 - 09:38 AM


#37 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 09:48 AM

I uploaded a NEW "Tweaks.rar" on my last post, because with the Microsoft values, doesn't works.
Please download the new one. Thanks

#38 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 09:56 AM

View Postmyselfidem, on 18 June 2012 - 09:48 AM, said:

I uploaded a NEW "Tweaks.rar" on my last post, because with the Microsoft values, doesn't works.
Please download the new one. Thanks

Doesn't work...
   lunes, 18 de junio de 2012 17:53:41  - cmd1 Enhorabuena (Código devuelto 0): "C:\Windows\SysWOW64\RegEdit" /S "J:\WPI\Install\Tweaks\PowerMenu.reg"



Thank's to you by your help...

#39 User is offline   myselfidem 

  • Member
  • PipPipPipPipPipPipPipPip
  • Group: Members
  • Posts: 2,447
  • Joined: 06-January 10
  • OS:Windows 7 x86
  • Country: Country Flag

Posted 18 June 2012 - 10:02 AM

Maybe you try to add with WPI:

DefaultInstallPath='%wpipath%'

This post has been edited by myselfidem: 18 June 2012 - 10:04 AM


#40 User is offline   alfreire 

  • Member
  • PipPip
  • Group: Members
  • Posts: 121
  • Joined: 07-August 11
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 18 June 2012 - 10:08 AM

I tried it, but does not work... :wacko:

Share this topic:


  • 6 Pages +
  • 1
  • 2
  • 3
  • 4
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2013 msfn.org
Privacy Policy