Re: [WiX-users] Trying to create directory name at compile time

2009-02-14 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Working fine.

Thanks,
pankaj

-Original Message-
From: Pankaj Agrawal (Infosys Technologies Ltd) [mailto:v-pa...@microsoft.com] 
Sent: Saturday, February 14, 2009 2:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Trying to create directory name at compile time

Hi,

I am trying to create directory name while compiling Wix fille.
I am using


AdminTools.wxs(79): error CNDL0006: The Directory/@Name attribute's value
cannot be an empty string.  If you want the value to be null or empty, simply r
emove the entire attribute.

Please let me know how to fix this problem as directory name is getting changed 
on a day to day basis and I want to pass that as a variable to my wix file.

Thanks,
Pankaj
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Trying to create directory name at compile time

2009-02-14 Thread Pankaj Agrawal (Infosys Technologies Ltd)
Hi,

I am trying to create directory name while compiling Wix fille.
I am using


AdminTools.wxs(79): error CNDL0006: The Directory/@Name attribute's value
cannot be an empty string.  If you want the value to be null or empty, simply r
emove the entire attribute.

Please let me know how to fix this problem as directory name is getting changed 
on a day to day basis and I want to pass that as a variable to my wix file.

Thanks,
Pankaj
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] [%USERDOMAIN]\[%USERNAME] as initial text for Edit control

2009-02-14 Thread Konstantin Vlasenko
Hello, want to promt user for service account and password.
Have placed two Edit control to dialog. One for the password and second for
the account name.



The problem is when the dialog appears the initial text for the edit control
is empty. While I supposed to see the expanded values from the environment
variables.

Please, advice.
--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] FW: Custom WiX Dialog Issues->Getting folder

2009-02-14 Thread Stephen Tunney


-Original Message-
From: Stephen Tunney 
Sent: Saturday, February 14, 2009 8:56 AM
To: 'chad.mi...@gmail.com'; '-us...@lists.sourceforge.net'
Subject: Fw: [WiX-users] Custom WiX Dialog Issues->Getting folder

Hey Chad,

This is close to what I was trying to get at.  I'm very green in Wix,
only the basics are in my toolbet at the moment :(

The folder I want the user to chose could be anywhere.  Network drive,
ramdrive, etc.  It might not have any relationship whatsoever to the
INSTALLDIR where the product will be placed.

That being said, I *thought* I had it all understood in my head, and
that simply setting the _BrowseProperty value to my own custom property
(as the example shows, "DataStoragePath" is the name of my property). It
does not appear to be populating at all.

So when I click on the Browse... button on my specialized form, and
click OK on the BrowseDlg, my Text control on my specialized form is not
being updated appropriately.  Nor is the property (DataStoragePath)
being updated at all in preparation for its use in my CustomAction that
is scheduled for execution after installing of my actual files.

Sorry for not being more clear in my original post.  I do appreciate the
assistance.

Regards,
Stephen Tunney


--

Message: 4
Date: Fri, 13 Feb 2009 14:18:13 -0500
From: "Stephen Tunney" 
Subject: [WiX-users] Custom WiX Dialog Issues->Getting folder selected
fromBrowseDlg
To: 
Message-ID:



Content-Type: text/plain;   charset="us-ascii"

Hello all,

I am trying to get back the value from the BrowseDlg (standard one in
the wixui) to do the following:

1) Display in a Text control
2) Be used in a custom action at the end of the installation process
(After="StartServices")

Here is my custom dialog, I already have it in the sequence, and that
part is working well, I just can't get the value back.  Do I need to
make my own custom BrowseDlg with new event names or something?

Many thanks,
Stephen


http://schemas.microsoft.com/wix/2006/wi";>









{\WixUI_Font_Title}Data
Storage Folder



Select a folder to store
all working data





Installed





Installed



1
Installed
Installed





1
1


ProductID


1








--

Message: 5
Date: Fri, 13 Feb 2009 12:12:26 -0800 (PST)
From: cemiles 
Subject: Re: [WiX-users] Custom WiX Dialog Issues->Getting folder
selected from BrowseDlg
To: wix-users@lists.sourceforge.net
Message-ID: <1234555946446-2323550.p...@n2.nabble.com>
Content-Type: text/plain; charset=us-ascii


I think I know what you're getting at here.  Say you click on the Browse
button and change the path, you want that path to show up in another
dialog
later on in the UI sequence?

If that is the case, I found something kind of nifty.

  

The way it works is, in the CustomizeDlg I set the INSTALLDIR after
being
redirected to the BrowseDlg.  [MsiSelectionTreeSelectedPath] holds that
value (I've never seen this property before, but noticed it getting set
to
what I wanted when parsing through some logs from my install), then I
appended some stuff onto the end of the path.  So, I wanted to use that
new
path in a tracing dialog I set up that makes use of the Property
"WixUI_BrowseTracePath".  I believe you can do the same thing w/ the
property you want set in your dialog.

Hope this can help you.


Stephen Tunney wrote:
> 
> Hello all,
> 
> I am trying to get back the value from the BrowseDlg (standard one in
> the wixui) to do the following:
> 
> 1) Display in a Text control
> 2) Be used in a custom action at the end of the installation process
> (After="StartServices")
> 
> Here

Re: [WiX-users] LaunchConditions and FindRelatedProducts

2009-02-14 Thread Neil Sleightholm
I can't think of any relationship between AppSearch and
FindRelatedProducts so I would think it wouldn't matter on their order
but I think it is important that they are before LaunchConditions.

Just to explain why this is a problem to me, most of my installs are run
silently and consequently the LaunchConditions won't trigger if a newer
version of the application is install and you can end installing an
older version as well as newer one. If anyone is interested I blogged
about this
http://neilsleightholm.blogspot.com/2009/01/launchconditions-findrelated
products.html. 

Should I raise a bug for this so it isn't lost?

Neil

-Original Message-
From: Rob Mensching [mailto:r...@wixtoolset.org] 
Sent: 14 February 2009 02:02
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] LaunchConditions and FindRelatedProducts

The current sequence of actions came from the MSI sequence.msi except 
for AppSearch/LaunchConditions. We filed a doc bug with the Windows 
Installer team about those two and I think they agreed it is a better 
ordering (when will we sit it addressed, no idea).

I suppose we could suggest the same for FindRelatedProducts (before or 
after AppSearch?). Have to verify it won't have any patch impact.

Neil Sleightholm wrote:
> I can sort of see the point of that but that list doesn't even mention
> FindRelatedProducts. Putting FindRelatedProducts after
LaunchConditions
> actually breaks installs if you run a downgrade silently.
>
> Neil
>
> -Original Message-
> From: Christopher Painter [mailto:chr...@deploymentengineering.com]
> Sent: 13 February 2009 20:54
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] LaunchConditions and FindRelatedProducts
>
>
> For some reason that I don't understand,  the MSI SDK suggests that
> LaunchConditions be before AppSearch:
>
> http://msdn.microsoft.com/en-us/library/aa372038(VS.85).aspx
>
> Personally I've always done it the other way around so I can use the
> results of AppSearch in my LaunchConditions.  In fact, at my day job,
> I've dumped LaunchConditions entirely and rolloed my own pattern that
> uses additional data that isn't available until after costing.
>
>
http://blog.deploymentengineering.com/2006/07/short-comings-of-launchcon
> ditions.html
>
>
> Christopher Painter, Author of Deployment Engineering Blog
> Have a hot tip, know a secret or read a really good thread that
deserves
> attention? E-Mail Me
>
>
> --- On Fri, 2/13/09, Neil Sleightholm  wrote:
>
>   
>> From: Neil Sleightholm 
>> Subject: [WiX-users] LaunchConditions and FindRelatedProducts
>> To: "General discussion for Windows Installer XML toolset."
>> 
> 
>   
>> Date: Friday, February 13, 2009, 12:42 PM
>> I have noticed that to get launch conditions to handle and
>> related
>> products properly it is necessary to schedule
>> FindRelatedProducts before
>> LaunchConditions. This is not a problem but wouldn't it
>> make sense for
>> this to be the default? I have looked at the VS generated
>> MSIs and they
>> are scheduled with FindRelatedProducts before
>> LaunchConditions and most
>> other MSIs I have checked do the same.
>>
>> Neil
>>
>> Neil Sleightholm
>> X2 Systems Limited
>> n...@x2systems.com
>>
>>
>>
>> 
>

> --
>   
>> Open Source Business Conference (OSBC), March 24-25, 2009,
>> San Francisco, CA
>> -OSBC tackles the biggest issue in open source: Open
>> Sourcing the Enterprise
>> -Strategies to boost innovation and cut costs with open
>> source participation
>> -Receive a $600 discount off the registration fee with the
>> source code: SFAD
>> http://p.sf.net/sfu/XcvMzF8H
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>> 
>
>
>
>
>

> --
> Open Source Business Conference (OSBC), March 24-25, 2009, San
> Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
> Enterprise
> -Strategies to boost innovation and cut costs with open source
> participation
> -Receive a $600 discount off the registration fee with the source
code:
> SFAD
> http://p.sf.net/sfu/XcvMzF8H
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
>

--
> Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
> -OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
> -Strategies to boost innovation and cut costs with open source
participation
> -Receive a $600 discount off the registration fee with the source
code: SFAD
> http://p.sf.net/sfu/XcvMzF8H
> __