[wpkg-users] Import registry keys does not work...
Hey, I tried: package id='test' name='test' revision='1' reboot='false' priority='0' install cmd='cmd /c reg import %PACKAGES%\test.reg' / --- Nothing happened... install cmd='cmd /c regedit /s %PACKAGES%\test.reg' / --- Nothing happened... install cmd='reg import %PACKAGES%\test.reg' / --- Nothing happened... install cmd='regedit /s %PACKAGES%\test.reg' / --- Nothing happened... install cmd='reg import C:\test.reg' / --- Nothing happened... install cmd='regedit /s C:\test.reg' / --- Nothing happened... /package No error. Nothing. Clients using Vista. What is wrong? Thanks Jens P.S: The package is registered in profiles.xml - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Import registry keys does not work...
Jens Wurster schrieb: Hey, I tried: package id='test' name='test' revision='1' reboot='false' priority='0' install cmd='cmd /c reg import %PACKAGES%\test.reg' / --- Nothing happened... install cmd='cmd /c regedit /s %PACKAGES%\test.reg' / --- Nothing happened... install cmd='reg import %PACKAGES%\test.reg' / --- Nothing happened... install cmd='regedit /s %PACKAGES%\test.reg' / --- Nothing happened... install cmd='reg import C:\test.reg' / --- Nothing happened... install cmd='regedit /s C:\test.reg' / --- Nothing happened... /package No error. Nothing. Clients using Vista. What is wrong? Thanks Jens P.S: The package is registered in profiles.xml Was the command actually started? What does your log show? BTW, you're missing a check condition. If you don't want to use any, look at this page: http://wpkg.org/Execute_once_/_always -- Tomasz Chmielewski - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Import registry keys does not work...
Hi, here is my log file: 2008-12-25 19:50:39, INFO : Installing 'Test' (test)... 2008-12-25 19:50:39, DEBUG : Reading variables from package 2008-12-25 19:50:39, DEBUG : Reading variables from package Test 2008-12-25 19:50:39, DEBUG : Stored 0 variables from package 2008-12-25 19:50:39, DEBUG : Reading variables from profile[s] 2008-12-25 19:50:39, DEBUG : Getting profiles which apply to this node. 2008-12-25 19:50:39, DEBUG : 1 profiles apply to this host. 2008-12-25 19:50:39, DEBUG : Reading variables from profile default 2008-12-25 19:50:39, DEBUG : Reading variables from host .+ 2008-12-25 19:50:39, DEBUG : Install type: install 2008-12-25 19:50:39, DEBUG : Fetched 4 install command(s). 2008-12-25 19:50:39, DEBUG : Executing command : cmd /c reg import %PACKAGES%\PSPad\PSPad.reg 2008-12-25 19:50:42, DEBUG : Command in installation of Test returned exit code [0]. Success. 2008-12-25 19:50:42, DEBUG : Executing command : cmd /c regedit /s %PACKAGES%\PSPad\PSPad.reg 2008-12-25 19:50:44, DEBUG : Command in installation of Test returned exit code [0]. Success. 2008-12-25 19:50:44, DEBUG : Executing command : reg import %PACKAGES%\PSPad\PSPad.reg 2008-12-25 19:50:46, DEBUG : Command in installation of Test returned exit code [0]. Success. 2008-12-25 19:50:46, DEBUG : Executing command : regedit /s %PACKAGES%\PSPad\PSPad.reg 2008-12-25 19:50:48, DEBUG : Command in installation of Test returned exit code [0]. Success. 2008-12-25 19:50:48, DEBUG : Removing currently existing settings node first: 'Test' (test), Revision 1 2008-12-25 19:50:48, DEBUG : Adding settings node: 'Test' (test), Revision 1 2008-12-25 19:50:48, INFO : Processing (install) of Test successful. Everything seems to be ok, but the keys weren't added to the registry... :-( Thanks Jens Was the command actually started? What does your log show? BTW, you're missing a check condition. If you don't want to use any, look at this page: http://wpkg.org/Execute_once_/_always -- Tomasz Chmielewski - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Import registry keys does not work...
I don't know if it's the same issue, but i've had registry imports report success even when the user that executed the import didn't have sufficient privileges to save changes to the registry. Can the user you're executing these install actions as, manually commit changes to the registry via regedit? On 12/25/08, Jens Wurster j...@zaubercenter.de wrote: Hi, here is my log file: 2008-12-25 19:50:39, INFO : Installing 'Test' (test)... 2008-12-25 19:50:39, DEBUG : Reading variables from package 2008-12-25 19:50:39, DEBUG : Reading variables from package Test 2008-12-25 19:50:39, DEBUG : Stored 0 variables from package 2008-12-25 19:50:39, DEBUG : Reading variables from profile[s] 2008-12-25 19:50:39, DEBUG : Getting profiles which apply to this node. 2008-12-25 19:50:39, DEBUG : 1 profiles apply to this host. 2008-12-25 19:50:39, DEBUG : Reading variables from profile default 2008-12-25 19:50:39, DEBUG : Reading variables from host .+ 2008-12-25 19:50:39, DEBUG : Install type: install 2008-12-25 19:50:39, DEBUG : Fetched 4 install command(s). 2008-12-25 19:50:39, DEBUG : Executing command : cmd /c reg import %PACKAGES%\PSPad\PSPad.reg 2008-12-25 19:50:42, DEBUG : Command in installation of Test returned exit code [0]. Success. 2008-12-25 19:50:42, DEBUG : Executing command : cmd /c regedit /s %PACKAGES%\PSPad\PSPad.reg 2008-12-25 19:50:44, DEBUG : Command in installation of Test returned exit code [0]. Success. 2008-12-25 19:50:44, DEBUG : Executing command : reg import %PACKAGES%\PSPad\PSPad.reg 2008-12-25 19:50:46, DEBUG : Command in installation of Test returned exit code [0]. Success. 2008-12-25 19:50:46, DEBUG : Executing command : regedit /s %PACKAGES%\PSPad\PSPad.reg 2008-12-25 19:50:48, DEBUG : Command in installation of Test returned exit code [0]. Success. 2008-12-25 19:50:48, DEBUG : Removing currently existing settings node first: 'Test' (test), Revision 1 2008-12-25 19:50:48, DEBUG : Adding settings node: 'Test' (test), Revision 1 2008-12-25 19:50:48, INFO : Processing (install) of Test successful. Everything seems to be ok, but the keys weren't added to the registry... :-( Thanks Jens Was the command actually started? What does your log show? BTW, you're missing a check condition. If you don't want to use any, look at this page: http://wpkg.org/Execute_once_/_always -- Tomasz Chmielewski - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users
Re: [wpkg-users] Import registry keys does not work...
I believe I used a utility called CPAU to do HKCU registry imports for users other than the one I was logged in as. It has some other nice options over the runas command. On 12/25/08, Jens Wurster j...@zaubercenter.de wrote: Yes, HKCU. Okay, I recognize my mistake: SYSTEM User and HKCU. That can't work. Right? So how can I add registry entries to a special user account? Thanks Jens Tomasz Chmielewski man...@wpkg.org hat am 25. Dezember 2008 um 23:42 geschrieben: Jens Wurster schrieb: I use the WPKG Client. The WPKG execution context user is set to SYSTEM. If I start the script manually with my admin account, it works! Where is the problem with the client? What registry entries are you trying to add? HKCU? -- Tomasz Chmielewski http://wpkg.org - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users - wpkg-users mailing list archives http://lists.wpkg.org/pipermail/wpkg-users/ ___ wpkg-users mailing list wpkg-users@lists.wpkg.org http://lists.wpkg.org/mailman/listinfo/wpkg-users