Monday, 15 August 2011

Create single Installer for all browser extension for all there browsers (IE, Chrome, Firefox) -



Create single Installer for all browser extension for all there browsers (IE, Chrome, Firefox) -

i have created extension toolbar chrome (.crx file), mozilla firefox (.xpi file), net explorer (.exe file). thing need create single installer (an exe or msi) 3 together.

please, don't advise crossrider; don't know how utilize created 3rd party extensions. don't want write code 1 time again crossrider. if know how utilize written code, it's ok; otherwise suggest else.

you can tell me how utilize nsis/ inno setup/ advanced installer create installer bundle browser extension.

how can inno setup.

;create directory mozilla , chrome [dirs] name: "{pf}\[directory name]" name: "{reg:hklm\software\google\chrome\extensions,path|{pf}\[directory name]}" name: "{reg:hklm\software\mozilla\firefox\extensions,path|{pf}\[directory name]}" ;add files [files] source: "sample.exe"; destdir: "{app}"; flags: ignoreversion source: "sample@sample.com.xpi"; destdir: "{pf}\[directory name]"; flags: ignoreversion source: "phogkfodcfpcnalkmlcjmlnhgjacapcf\sample_chrome.crx"; destdir: "{pf}\[directory name]"; flags: ignoreversion ;create registry [registry] root: "hklm"; subkey: "software\google\chrome\extensions\mefpokegaaknljjamcdfhnimiiogmogk"; valuetype: string; valuename: "path"; valuedata: "{pf}\[directory name]\sample_chrome.crx"; flags: uninsdeletekey root: "hklm"; subkey: "software\google\chrome\extensions\mefpokegaaknljjamcdfhnimiiogmogk"; valuetype: string; valuename: "version"; valuedata: "1.4"; flags: uninsdeletekey root: "hklm"; subkey: "software\mozilla\firefox\extensions"; valuetype: string; valuename: "sample@sample.com"; valuedata: "{pf}\[directory name]\sample@sample.com.xpi"; flags: uninsdeletekey ;run exe file [run] filename: "{app}\{#myappexename}"; description: "{cm:launchprogram,{#stringchange(myappname, '&', '&&')}}"; flags: nowait postinstall skipifsilent

google-chrome firefox installer installation

No comments:

Post a Comment