ClickOnce deployment

PDF-XChange Viewer SDK for Developer's
(ActiveX and Simple DLL Versions)

Moderators: Tracker Support, TrackerSupp-Daniel, Sean - Tracker, Vasyl-Tracker Dev Team, Chris - Tracker Supp, Ivan - Tracker Software, Tracker Supp-Stefan

Post Reply
Posts: 4
Joined: Fri Aug 15, 2008 8:55 am

ClickOnce deployment

Post by Synergy »

I'm sure this question would have been asked before but I cannot see any reference.
I am trying to deploy a ClickOnce application and I am trying to use the "Registration-Free Deployment" method. If I install the application and copy the required files to the ClickOnce application folder, all is good.
However, if I add the required files to my project, mark them as content and tell the files to copy, all the files except for "Aviation.exe.manifest" copy across. I have since discovered that .NET create its own "Aviation.exe.manifest" file. However, this file does not contain a reference to PDFXCviewAx.X which is in your version of the "Aviation.exe.manifest" file.
If I replace the .NET generated file with your file AFTER THER INSTALL it works OK.
Is there something I am doing wrong?
Is there some way to get the generated manifest file to include the missing reference?
User avatar
Paul - Tracker Supp
Site Admin
Posts: 5864
Joined: Wed Mar 25, 2009 10:37 pm
Location: Chemainus, Canada

Re: ClickOnce deployment

Post by Paul - Tracker Supp »

Hi Synergy.

You need to use this option – then an external and existing manifest file will be used by this app.
Also on the machine that is used for developing the app the ActiveX control must be registered in standard way like it is described here: ... controlreg

Code: Select all

PDFXCview.exe /RegServer

regsvr32 PDFXCviewAx.dll /s
- its required if you want to play with ActiveX control on your dialog in design mode in VisualStudio. Because their DialogDesigner can work only with registered(installed) ActiveX. Click-once method not working for them.

Also look for the working example in the attached achive.
(7.59 MiB) Downloaded 134 times
Best regards

Paul O'Rorke
Tracker Support North America
Post Reply