On Tue, 2 May 2006 10:22:22 +0200 Georg Lutz <[EMAIL PROTECTED]> wrote:

GL> Normally wpkg is executed under the systems account without
GL> administrator intervention. Will "-setDefaultBrowser" just set the
GL> default browser without actually creating or profile or do other things?

I run wpkg as system
and use this package definition:

<package id="setffasdefault" name="Set FireFox as Default Browser"
         revision="1" priority="11" reboot="false" execute="once">
                <install cmd="%WpkgRoot%\Tools\Set_FF_as_default.cmd" />
                <upgrade cmd="%WpkgRoot%\Tools\Set_FF_as_default.cmd" />
                <remove cmd="%WpkgRoot%\Tools\Set_IE_as_default.cmd" />
        </package>


this create a default profile in  C:\Documents and Settings\Default 
User\Application
Data\Mozilla
if that is a concern you could have:

rmdir /S /Q "C:\Documents and Settings\Default User\Application Data\Mozilla"

in Set_FF_as_default.cmd

----------------------Set_FF_as_default.cmd-------------------------
copy /Y %Wpkgroot%\Files\nsBrowserContentHandler.js "%ProgramFiles%\Mozilla 
Firefox\components"
"%ProgramFiles%\Mozilla Firefox\firefox.exe" -CreateProfile default
"%ProgramFiles%\Mozilla Firefox\firefox.exe" -setDefaultBrowser -silent
rmdir /S /Q "C:\Documents and Settings\Default User\Application 
Data\Mozilla\Firefox\Profiles"
--------------------------------------------------------------------




-----------------------Set_IE_as_default.cmd------------------------
shmgrate.exe OCInstallReinstallIE
--------------------------------------------------------------------




-------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid0709&bid&3057&dat1642
_______________________________________________
wpkg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/wpkg-users

Reply via email to