Domanda

I have a setup project (VS2008) for an existing application to which I have to add another project output, such that they reside in the same folder (two exes, and most of the dlls are shared).

The existing app has a CustomActionData argument of /Target="[TARGETDIR]\", but it installs its stuff in [TARGRETDIR]\EXE, which is fine although I can't see where this subfolder is defined, but I want the new project output to be in the same place. I've tried setting its CustomActionData argument to /Target="[TARGETDIR]\", and even /Target="[TARGETDIR]\EXE", but it always goes into [TARGETDIR].

So my question is: how do I ensure that both project outputs end up in the same folder (ie [TARGETDIR]\EXE)?

È stato utile?

Soluzione

Stop using the Project Output option. Just use your setup project File System view to drag the files from any project (or in fact anywhere on the system) into the destination folder.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow
scroll top