Need Help With C# Updater - Advanced Installer Community

We’re moving our forums to a new platform.

You can still browse and search existing topics, but you can no longer create new topics or post replies.

For questions, technical issues, or feature requests, please don’t hesitate to contact our support team at support@advancedinstaller.com.

Thank you for your understanding!

rkulp
Posts: 48
Joined: Mon Feb 26, 2007 10:50 pm

Need Help With C# Updater

:?: I am trying to implement the C# sample code (http://www.advancedinstaller.com/user-g ... sharp.html) for the AI Updater in a VB.Net application. My idea was to compile the sample code into a dll that I can include in the VB app. right now I am stuck in compiling the dll. If I don't have Form1 in the project I get four errors about not having Form1. If I put in Form1 with the code from the sample, I get three errors.
I have also translated the code into VB.Net and get similar errors there, too.

If anyone has incorporated the updatere into a Visual Studio windows app, especially VB.Net, I would like some pointers on how they worked it out. Code snippets would be especially helpful.
rkulp
Posts: 48
Joined: Mon Feb 26, 2007 10:50 pm

I have made so advances. I can see that it is not possible to have a dll and that the code must be inserted into the VB program. The threading is not completely worked out as I must decide whether to use the BackgroundWorker or do it as shown in the C# code. When I get the solution, I'll post the VB.Net code here.

Return to “Common Problems”