Using a Visual Studio Deployment Project (newb question)

HiI'm evaluating wyBuild for our application... we use a standard VS deployment project for the installer - I'm having trouble with the wyUpdateLocation setting - when I run the application I get an error when trying to update:The wyUpdate executable was not found: C:\Program Files (x86)\Microsoft Office\Office12\wyUpdate.exe

My application is a VSTO plugin for Outlook.

What should I be putting in for the wyUpdateLocation field on the automaticUpdater control?

Hey Marcin,

You should set the wyUpdateLocation property in the constructor of your form. And you should use the full path and not a relative path.

So something like this:

public Form1(){    InitializeComponent();


    autoUpdater.wyUpdateLocation = @"C:\Location\To\wyUpdate.exe";}

Obviously you shouldn't hardcode the path like that, but do make sure you're pointing to the correct full path. Does this make sense?

Hi Sam

That makes good sense. Thanks for that.

Cheers,Marcin