Set TARGETDIR for an Installer package

3 views
Skip to first unread message

lee_fuller

unread,
Jun 11, 2008, 2:00:45 PM6/11/08
to DotNetDevelopment, VB.NET, C# .NET, ADO.NET, ASP.NET, XML, XML Web Services,.NET Remoting
Hi all,

I've just completed coding an Excel Add-in using VSTO. I've also
completed creating the installer package for it. Everything runs fine
except I would like to change the installer so I can specify the
[TARGETDIR] path rather than the user selecting it.
Does anyone know how to set the [TARGETDIR] path? I've read about
custom action Type 51 etc but I can't seem to find an answer how to
set this up in the Install package.
I know how to retrieve the TARGETDIR using CustomActionData but
haven't a clue how to set it!

Many thanks,
Lee.

Glenn

unread,
Jun 12, 2008, 7:19:20 AM6/12/08
to DotNetDe...@googlegroups.com
You set it just the opposite of how you retrieve it!  There are functions for retrieving and setting installation variables.  If you display the help on the retrieve function it will have a "See also" link that will have other related functions.
 
...Glenn

 
Reply all
Reply to author
Forward
0 new messages