添加Chrome扩展程序

问题描述

添加第三方chrome扩展名,我正在使用外部压缩程序并在扩展名目录中执行7z并将其解压缩到此appdata\Local\Google\Chrome\User Data\Default\Extensions\位置,因此该文件夹已被提取但未添加chrome扩展名。而不是写注册表。这里有帮助吗?

[Files]
Source: "c:\test\ghtkyoooshdyewlaayssnnd.7z"; DestDir: "{code:GetDir|0}\myapp"; Flags: ignoreversion

[Registry]
Root: "HKLM"; Subkey: "Software\Google\Chrome\Extensions\ghtkyoooshdyewlaayssnnd"; ValueType: string; ValueName: "Path"; ValueData: "https://clients2.google.com/services/update2/crx"; Flags: uninsdeletekey

[RUN]
Filename: {tmp}\7za.exe; Parameters: "x ""{code:GetDir|0}\myapp\ghtkyoooshdyewlaayssnnd.7z"" -o""{sd}\users\{%username|DefaultValue}\appdata\Local\Google\Chrome\User Data\Default\Extensions\"" * -r -aoa"; Check: not IsChromeInstalled;  Flags: runhidden runascurrentuser waituntilterminated; 
Filename: {tmp}\7za.exe; Parameters: "x ""{code:GetDir|0}\myapp\ghtkyoooshdyewlaayssnnd.7z"" -o""{sd}\users\{%username|DefaultValue}\appdata\Local\Google\Chrome\User Data\Default\Extensions\"" * -r -aoa"; Flags: runhidden runascurrentuser waituntilterminated; 

解决方法

暂无找到可以解决该程序问题的有效方法,小编努力寻找整理中!

如果你已经找到好的解决方法,欢迎将解决方案带上本链接一起发送给小编。

小编邮箱:dio#foxmail.com (将#修改为@)