Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / .NET Framework / Setup / November 2004

Tip: Looking for answers? Try searching our database.

Property substitution in path name

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Greg Allen - 19 Nov 2004 01:38 GMT
I have a problem that I believe is simple, but I can't figure out how to
make it work.

I want to create a folder on the target machine with the Version property
in the name.  How do I make this substitution happen?  I've tried specifying
[Version] as the folder name in the file system view, but that doesn't seem
to work.

I'd also like to do the property substitution in other properties as well,
such
as the Title property ("My Title ([Version])"), so I can have the version
in there as well.

I admit to being relatively new to this installer.  But what I want to do
seems
pretty straightforward, and I can't make it happen.

Any help?

Thanks,

-- Greg Allen
gallen@arrayinc.com
Phil Wilson - 19 Nov 2004 20:16 GMT
The Windows Installer property name is actually ProductVersion. The folder
name needs to start with something that maps to a path, so
[ProgramFilesFolder][ManuFacturer]\ProductName]\[ProductVersion] should
work.
http://msdn.microsoft.com/library/en-us/msi/setup/system_folder_properties.asp?f
rame=true

Signature

Phil Wilson [MVP Windows Installer]
----

> I have a problem that I believe is simple, but I can't figure out how to
> make it work.
[quoted text clipped - 19 lines]
> -- Greg Allen
> gallen@arrayinc.com

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.