all groups > dotnet setup > june 2007 >
You're in the

dotnet setup

group:

Is [TARGETDIR] available in UI dialog boxes of a setup project?


Is [TARGETDIR] available in UI dialog boxes of a setup project? dan
6/4/2007 2:34:11 PM
dotnet setup:
Hi,

I thought I could provide a default value as [TARGETDIR] for a text box in a
UI dialog box. This does not seem to work though. Is this because this
property is not yet available at this stage? Is there another 'variable'
that I can use instead?

Thanks,
Dan

Re: Is [TARGETDIR] available in UI dialog boxes of a setup project? Phil Wilson
6/5/2007 1:30:01 PM
It should be available. I can put [TARGETDIR] in the WelcomeText of the
opening Welcome dialog and it shows the value ok. Some of those dialog boxes
already assume you're using a property, IIRC, so you may not need the
brackets, but it is case-sensitive.
--
Phil Wilson
[MVP Windows Installer]

[quoted text, click to view]

Re: Is [TARGETDIR] available in UI dialog boxes of a setup project? dan
6/6/2007 12:08:20 AM
[TARGETDIR] will indeed appear in the WelcomeText. It'll also show in text
box labels. The problem is that the property is ignored when put in the
value field of a text box (e.g. Edit1Value). Other properties like
[ComputerName] are displayed properly. I can't figure out the logic behind
it.
BTW, removing brackets displays "TARGETDIR".


[quoted text, click to view]

AddThis Social Bookmark Button