beaudryj / clickonceforchrome Goto Github PK
View Code? Open in Web Editor NEWAutomatically exported from code.google.com/p/clickonceforchrome
Automatically exported from code.google.com/p/clickonceforchrome
What steps will reproduce the problem?
1. Set up a "clean" Windows XP sp3 machine with Chrome and minimal other
software installed.
2. Install the ClickOnce for Chrome extension into Chrome.
3. Try to launch any ClickOnce application. Rather than working correctly, the
browser displays a "Missing Plug-in" message.
On a development machine with Visual Studio 2010 installed, the plug-in works
correctly/as expected.
The problem is that the NPClickOnce.dll executable is compiled with the CRT
linked as "Multi-threaded DLL (/MD)", which means that the DLL requires that
the MSVCR100.DLL runtime file be PREINSTALLED on the system. If VS2010 is
installed, or the runtime redistributable from VS2010 is installed, that
condition is met. For MOST end users, this condition will NOT be met, and the
NPClickOnce.dll cannot be loaded, resulting in the "Missing Plug-in" message.
This can be fixed by changing the Project settings in VS2010, under
Configuration Properties > C/C++ / Code Generation, setting "Runtime Library"
which should be "Multi-threaded (/MT)" for Release mode, and "Multi-threaded
Debug (/MTd)" for Debug mode.
This will increase the size of the NPClickOnce.dll, but will make the DLL
usable without any unspecified prerequesites.
Original issue reported on code.google.com by [email protected]
on 29 Sep 2010 at 7:48
What steps will reproduce the problem?
Launch the codebase URI from a program shell e.g.
http://somehost/apppath/applicationname.application
What is the expected output? What do you see instead?
The Chrome browser opens then a browser tab is opened that runs the application
however the browser tab that has been opened remains open. The behaviour on
Internet Explorer, which is the correct behaviour, is the tab that was open
closes immediate leaving only the application running
What version of the product are you using? On what operating system?
Window 7 32Bit. Chrome 26.0.1410.64m
Please provide any additional information below.
This prevents application developers from using platforms with Chrome as the
default browser from launching ClickOnce applications programmatically
Original issue reported on code.google.com by [email protected]
on 22 May 2013 at 6:32
What steps will reproduce the problem?
1. Install Chrome 16.0.912.63 m
2. Try to install a ClickOnce .application manifest
3. It will just load on the screen as text
What is the expected output? What do you see instead?
I expected the extension to work and actually launch the clickonce install.
What version of the product are you using? On what operating system?
Windows 7, Chrome version 16.0.912.63 m
Please provide any additional information below.
I have restarted Chrome, tried to uninstall/reinstall the extension but it does
not appear to let me install a clickonce application despite the use of this
extension.
Original issue reported on code.google.com by [email protected]
on 5 Jan 2012 at 2:42
Like Chrome, Firefox now prevents add-ins from changing the user agent string.
The solution implemented by the .NET plug-in for Firefox is to set the
X-ClickOnceSupport header. See
https://connectppe.microsoft.com/VisualStudio/feedback/details/667720/microsoft-
net-framework-assistant-1-2-2-for-firefox-does-not-report-net-version-in-user-ag
ent
Might that also be possible in a future version of ClickOnce for Chrome?
Original issue reported on code.google.com by [email protected]
on 4 Aug 2011 at 10:32
Hi Eric,
First, thanks for creating this extension.
I'm on a project where we launch clickonce in a hidden iframe. This solves two
problems, the user doesn't leave the page and blank windows or tabs are not
opened.
The "GoBack" method causes a problem with the above described pattern because
it is going back in history for the main window not the iframe. Since our site
is essentially an ajax application it sends the user back to the login page.
I've coded up a way for this extension to read query string parameters. And
I've also made the GoBack function conditional. So if the browser is chrome I
can add the parameter "&cofc_goback=false" (where cofc is an acronym for
clickonceforchrome).
if (browserDetection.browser == "Chrome") {
url += "&cofc_goback=false";
}
ClickFrame.location = url;
I've attached the cpp and h file. I would like to contribute this code to the
project. Would you consider adding this contribution? Could you respond to
issue post to let me know?
Thanks
John Cavalieri
Original issue reported on code.google.com by [email protected]
on 9 May 2011 at 10:06
Attachments:
hello -- using the scriptable embed method to avoid the page refresh issue in
Chrome. Our url actually navigates to a service we've built, launching our
client application if it isn't running, and loading some content select by the
user on the host page.
We're having an issue where this runs okay via a standard link, but when the
embed launcher takes the same url as a parameter, the GET, as seen by Fiddler,
shows the url terminated incorrectly.
Here's the href for the link we're using:
<a
href="http://swebintegrations.goldmail.com/addtogoldmail/?url=http://cdn.goldmai
l.com/content/52659/Seasonal%20Messages%20-%20Happy%20Halloween%202_b8d6c1bd-3e8
1-4445-a801-766bb4b74afa.gld" id="click_once"><div id="get-gld-button"><div
id="get-gld-button-text">Make a GoldMail With These Slides</div></div></a>
and here's what fiddler reports for the embed.launchClickOnce GET -- you can
see extra characters at the end of the URL:
GET
http://swebintegrations.goldmail.com/addtogoldmail/?url=http://cdn.goldmail.com/
content/52659/Seasonal_Messages-Happy_Halloween_1_954c886b-1763-4144-b37c-a36cac
019d7f.gldldd HTTP/1.1
Host: swebintegrations.goldmail.com
Connection: keep-alive
User-Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/535.1 (KHTML, like Gecko)
Chrome/14.0.835.186 Safari/535.1
Accept: */*
Referer:
http://127.0.0.3:83/Home/Assets?gmID=frczzc3soaxg&subject=Happy%20Halloween%20%2
31
Accept-Encoding: gzip,deflate,sdch
Accept-Language: en-US,en;q=0.8
Accept-Charset: ISO-8859-1,utf-8;q=0.7,*;q=0.3
Cookie: NLVisitorId=TNpn61tXAZ-DW2RH;
__utmx=266943000.00015014762103304041:2:1;
__utmxx=266943000.00015014762103304041:1314061807:2592000;
WRUID=74882544.1655182053;
__utma=266943000.1513721706.1306194835.1314047543.1314061810.13;
__utmz=266943000.1303164264.25.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
__utma=230474398.403552504.1316111825.1316111825.1316193720.2;
__utmz=230474398.1316111825.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=(none);
ASP.NET_SessionId=rrssle0jzidti2moxsquywcy;
VisitorID=93887a6f-f63e-474b-bd5b-02ae2ad6f5d5; VisitorCreatedTime=1317356089714
Finally, here's my embed code - I confirmed that the url was okay just prior to
calling launchClickOnce
<script type="text/javascript">
//http://code.google.com/p/clickonceforchrome/wiki/AvoidingPageRefresh - avoid the forced refresh
$('#get-content').click(function (e) {
//hook the click function to the button div
e = e || window.event;
var element = e.target || e.srcElement;
if (element.tagName == 'DIV') {
//alert($('#click_once').attr('href'));
var embed = document.createElement('embed');
embed.setAttribute('type', 'application/x-ms-application');
embed.setAttribute('width', 0);
embed.setAttribute('height', 0);
// Have to add the embed to the document for it
// to actually instantiate.
document.body.appendChild(embed);
embed.launchClickOnce($('#click_once').attr('href')); //get the href of the anchor tag inside the get-content div
// Don't remove the embed right away b/c it can
// cancel the download of the .application.
return false;
}
});
</script>
Original issue reported on code.google.com by [email protected]
on 29 Sep 2011 at 10:47
Hello,
I feel that I'm not in the right place to ask for answers but I don't know
where to do it actually.
I need to find a solution to deploy the plugin on multiple computers (SCCM
package). The thing is I don't know how to do it. I tried to capture the system
file modifications during the plugin installation, which are :
- C:\Users\%USERNAME%\AppData\Roaming\Google\Chrome\UserData\Default\Local
Storage (chrome-extension_eeifaoomkminpbeebjdmdojbhmagnncl_0.localstorage and
chrome-extension_eeifaoomkminpbeebjdmdojbhmagnncl_0.localstorage-journal have
been added)
-
C:\Users\97960a\AppData\Roaming\Google\Chrome\UserData\Default\Extensions\eeifao
omkminpbeebjdmdojbhmagnncl (the folder 1.2.8_0 has been added)
When I copy / past those files and folder on a another computer and user, the
plugin seems to not work (I don't see it in the extensions but I thing this is
normal).
I saw this thread
(http://code.google.com/p/clickonceforchrome/wiki/How_can_I_install_the_plugin_f
or_clickonce_manually) but during my capture nothing has been written on the
registry (the thread is dated 2008...).
Does anyone know how to do it or if it's even possible ? Or at least where I
can address this topic to get some leads ?
Thank you by advance.
Gilles
Original issue reported on code.google.com by [email protected]
on 16 Jul 2014 at 9:29
What steps will reproduce the problem?
1. Download any ClickOnce installer
2. The page is reloaded
3.
What is the expected output? What do you see instead?
The page should not be refreshed to keep the current state.
What version of the product are you using? On what operating system?
1.2.1
Windows 7
Chrome 23
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 4 Dec 2012 at 6:25
What steps will reproduce the problem?
1. Install Chrome for Work
2. Run "Setup ClickOnce for All Users.bat"
What is the expected output? What do you see instead?
I receive and error: Chrome is not installed for this user(s).
What version of the product are you using? On what operating system?
ClickOnce Launcher 2.0.0
Please provide any additional information below.
Installation appears to be working using "Setup ClickOnce for Current User.bat"
Original issue reported on code.google.com by [email protected]
on 24 Feb 2015 at 7:36
Attachments:
Hi,
How can I install the plugin for clickonce manually?
Thanks,
AviB
Original issue reported on code.google.com by [email protected]
on 8 Dec 2011 at 3:50
After an automatic reboot, I assume from a Windows auto-update, a browser
window came up from this url:
http://www.clickoncechrome.com/install.html#update2
"ClickOnce for Chrome got an important update" web page loaded automatically,
is this legitimate?
What version of the product are you using? 2.0.1
On what operating system? Win 7 Home Premium
Thanks for the help
Jeff
Original issue reported on code.google.com by [email protected]
on 26 Sep 2014 at 4:56
The .dll contained in Clickonce for Chrome loads and works fine in both Firefox
and Safari but there is no installer. Firefox already has an extension that
implements Clickonce and I'm not sure if any Safari users actually care about
Clickonce... so I'm creating this work item to see if there's any interest in
an installer for those browsers (probably one one installer for all three
browsers).
So star or comment if you want this and I'll see what I can do.
Original issue reported on code.google.com by [email protected]
on 8 Sep 2011 at 3:37
It is now definitely possible to do it, but I'm not sure which one to pick just
yet.
Option A: change the userAgent header (like IE)
Option B: add a X-ClickOnceSupport header (like Firefox .NET Assistant plugin)
In either case the helper application would need an update.
Original issue reported on code.google.com by [email protected]
on 8 Oct 2014 at 11:03
In IE the user agent string (only for scripts in IE9) shows the installed
versions of the .NET Framework. Since it isn't practical to change the Google
Chrome user agent I should expose a property on NPApplicationLauncher
containing the list.
Original issue reported on code.google.com by [email protected]
on 22 May 2011 at 1:12
http://blog.chromium.org/2013/09/saying-goodbye-to-our-old-friend-npapi.html
Without the .dll, how to we get the .NET component to handle ClickOnce
applications?
Original issue reported on code.google.com by redsandro
on 23 Jul 2014 at 5:15
It is very convenient to be able to offer a direct link to the installation
dialog. However, this is only possible for extensions that have one or more
verified websites.
Please add and verify a website.
What steps will reproduce the problem?
1. Add to head of html file:
<link rel="chrome-webstore-item"
href="http://chrome.google.com/webstore/detail/eeifaoomkminpbeebjdmdojbhmagnncl"
>
2. Add link with onClick javascript:
chrome.webstore.install('http://chrome.google.com/webstore/detail/eeifaoomkminpb
eebjdmdojbhmagnncl', undefined, function(err) {console.log('Chrome Webstore
installation failed: ' + err)});
3. Click and see the error on the console:
"Chrome Webstore installation failed: Inline installs can only be initiated for
Chrome Web Store items that have one or more verified sites."
Original issue reported on code.google.com by redsandro
on 29 Oct 2013 at 12:32
What steps will reproduce the problem?
1.
2.
3.
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 2 Nov 2011 at 8:13
The old way no longer works, because there is no .dll file registered anymore.
Have to come up with a new API.
Original issue reported on code.google.com by [email protected]
on 26 Sep 2014 at 9:26
What steps will reproduce the problem?
1. Try to access link from Google store
(https://chrome.google.com/webstore/detail/clickonce-for-google-chro/eeifaoomkmi
npbeebjdmdojbhmagnncl)
What is the expected output?
Plugin available for installation within Chrome.
What do you see instead?
Error page about missing item.
What version of the product are you using? On what operating system?
Not relevant.
Please provide any additional information below.
Original issue reported on code.google.com by [email protected]
on 5 Feb 2015 at 9:04
When I click on a clickonce link, the clickonce application starts as expected,
but the web page containing the link is also refreshed...
This does not happen in firefox of internet explorer.
Original issue reported on code.google.com by [email protected]
on 7 Oct 2010 at 6:34
What steps will reproduce the problem?
1. Try to install ClickOnce for Chrome
(https://chrome.google.com/webstore/detail/clickonce-for-google-chro/eeifaoomkmi
npbeebjdmdojbhmagnncl)
> What is the expected output? What do you see instead?
Expect that the extension will be installed. Instead, there is a message "This
application is not supported on this computer. Installation has been disabled."
Original issue reported on code.google.com by [email protected]
on 16 Nov 2012 at 10:37
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.