Windows Develop Bookmark and Share   
 index > ClickOnce and Setup & Deployment Projects > ClickOnce "Automatically run application after installing" unchecked not working for CD installation
 

ClickOnce "Automatically run application after installing" unchecked not working for CD installation

I cannot get my application to NOT start automatically following a CD installation of a CD deploy. I have tried checking "Block application from being activated via a URL" in the publish options. This is supposed to do the same thing as unchecking "Automatically run application after installing" in MageUI, which I have also tried. If I change the deploy location to be a website, then the application does not start automatically after installation, and I get a message indicating that the application can be launched from the Start menu. But, I need to create a CD installation.

Thanks,

Dan

Dan McG_  Wednesday, May 16, 2007 7:53 PM
There is a known-issue with the generated autorun.inf file: it is saved in UTF-8 format rather than straight ANSI, which causes the autorun to fail. I have seen at least one other thread on the issue (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=349173&SiteID=1), and I think this has been fixed as part of VS 2005 SP1.
Mike Wade - MSFT  Wednesday, May 23, 2007 8:26 PM
There is a known-issue with the generated autorun.inf file: it is saved in UTF-8 format rather than straight ANSI, which causes the autorun to fail. I have seen at least one other thread on the issue (http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=349173&SiteID=1), and I think this has been fixed as part of VS 2005 SP1.
Mike Wade - MSFT  Wednesday, May 23, 2007 8:26 PM
I have the same problem. Anybody can help, please?

WinnieThePool  Thursday, November 29, 2007 6:39 PM

You can use google to search for other answers

Custom Search

More Threads

• Change command in combination with ClickOnce
• No Touch Deployment - Not Working On Some PC's
• Great article, but a question to David Guyer
• "SignFile" task was not given a value for the required parameter "CertificateThumbprint".
• one setup file for two projects in vb.net
• No touch deployment question
• Deployment of GAC dll for deveoplers as well
• upload files to webserver
• error when clicking setup.exe after a build
• Access violation in dfsvc.exe doing ClickOnce