Groups | Blog | Home
all groups > visual studio .net setup > july 2006 >

visual studio .net setup : PostBuildEvent Question


Starbuck
7/10/2006 12:00:00 AM
Hi
I am want my installation msi to run a exe after it has completed.
The exe in question will have been installed into whatever folder was chosen
during the install
So what do I put in the PostBuildEvent option eg [APPDIR]/setup.exe

Thanks in advance

--
Nevikski
www.kevsbox.com

Starbuck
7/10/2006 8:46:20 PM
if it helps I have added this to the PostBuildEvent box -

$(TargetDir)\setup2.exe



This causes the following error

Error 1 'PostBuildEvent' failed with error code '1' 'Unspecified error'
D:\Inetpub\wwwroot\MTSetup\mtMSI\mtSetup\mtSetup.vdproj mtSetup


So the question is when the user selects a destination folder this is stored
in a variable, so how do I reference that variable in PostBuildEvent

Surely someone can answer this?


--
Nevikski
www.kevsbox.com
[quoted text, click to view]

AddThis Social Bookmark Button