Directory Above "Your Program's folder"

Hi,

My current directory looks something like Program Files(x86)\ProductName\bin\wyUpdate.exeI was wondering how I might specify to wyBuild to go one directory behind the 'bin' directory.

This doesn't seem to be available via the gui, but it would really make life convenient if I could get access to that folder for updating.

You can pass in the "base directory" by using the -basedir commandline option in wyUpdate.

Is there anyway to do a "Program Files (x86)\..." and then have it work on 32-bit machines as well?

Don't hardcode your paths. Just use the "Your Program's Folder" in wyBuild, and pass in the folder above the "bin" folder (using the -baseir commandline option) to wyUpdate. That way the "parent" folder becomes "Your programs' folder".

Does that clear things up?

Right, so right now I have most everything inside the "Your Program's Folder" option."Your Program's Folder" and "bin" are the same thing.

If I use the -basedir option on the directory above 'bin,' then won't wyupdate.exe and client.wyc be moved to this directory as well? This is problematic because the AutomaticUpdater control is referencing wyupdate.exe from the same directory.

Let me know if you need me to clear this up.

Oh, okay I think I understand.

I thought this was a flag for wyBuild. But how might I specify a path relative to the current directory?

E.g. I don't want to specify C:\Program Files (x86\My App\bin because "My App" may actually exist in C:\Program Files\ for 32 bit computers.

Actually, sorry about that. I understand now.

It does take relative paths.

Actually, there is one issue with this:I have some versions already deployed - since I can only control using the wyupdate.exe command AFTER a user has updated to a new version, there doesn't seem to be a way to go between versions in this case.