Re: [WiX-users] File Paths and Fragments

2007-08-02 Thread Brian Poploskie
My sanity has been restored, I figured it out.

 

The problem was I had some features set to Level="0" and was doing
debug/release checks to figure out what feature to use and setting the
level appropriately.  Well when I broke out the project into fragments I
moved debug/release into different fragments as I was getting yelled at
because it looked like I was trying to install the same thing twice,
even though only one would be installed, and from two different sources
(blah.dll from release or debug).  I would just link the debug or
release version of the fragments when I built the installer.

 

The problem was I forgot to reset the levels on the features to
accommodate this.

 

The other problem is it was causing custom actions to fail so the
install never completed so I never went looking for the dlls, and when
it was built without compression the files were in the directory tree,
just not installed.

 

Thanks for trying to help!

 

Brian Poploskie



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 01, 2007 11:58 PM
To: Brian Poploskie
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] File Paths and Fragments

 

Brian Poploskie wrote: 

I switched to WiX 3.0.2925.0 and still had the same problem.  Strangely
enough I broke it down to a really small test case and it worked fine.
This was a direct copy and paste of the custom actions/files/and
scheduling.  They're both in approximate the same place in the install
sequence 4001 to 4016, after Install Files, so well within the range
where the references will still be valid.  I'm not getting an invalid
foreign key reference so it acknowledges those files are there.


Can you post a fragment? Nothing's coming to mind so far...




-- 
sig://boB
http://joyofsetup.com/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File Paths and Fragments

2007-08-01 Thread Bob Arnson

Brian Poploskie wrote:


I switched to WiX 3.0.2925.0 and still had the same problem.  
Strangely enough I broke it down to a really small test case and it 
worked fine.  This was a direct copy and paste of the custom 
actions/files/and scheduling.  They're both in approximate the same 
place in the install sequence 4001 to 4016, after Install Files, so 
well within the range where the references will still be valid.  I'm 
not getting an invalid foreign key reference so it acknowledges those 
files are there.




Can you post a fragment? Nothing's coming to mind so far...

--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File Paths and Fragments

2007-08-01 Thread Brian Poploskie
I switched to WiX 3.0.2925.0 and still had the same problem.  Strangely
enough I broke it down to a really small test case and it worked fine.
This was a direct copy and paste of the custom actions/files/and
scheduling.  They're both in approximate the same place in the install
sequence 4001 to 4016, after Install Files, so well within the range
where the references will still be valid.  I'm not getting an invalid
foreign key reference so it acknowledges those files are there.

 

Other custom actions are also having their references resolve properly,
which just confuses me more.

 

Brian Poploskie



From: Bob Arnson [mailto:[EMAIL PROTECTED] 
Sent: Wednesday, August 01, 2007 1:37 AM
To: Brian Poploskie
Cc: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] File Paths and Fragments

 

Brian Poploskie wrote: 

I'm using some file keys in custom actions, for example [#MyFile].  This
was working fine until I broke the core wxs file up into multiple files
containing fragments for easier maintenance.  Since I've done this the
file references don't seem to be evaluating to anything.  I get empty
strings in the logs when I try to do the install.

 

Is it not possible to use formatted strings to get the path of file
objects when the files are in a fragment?


Yes, it should work/does work for me. Can you narrow it down to a simple
case?



-- 
sig://boB
http://joyofsetup.com/
-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File Paths and Fragments

2007-07-31 Thread Bob Arnson

Brian Poploskie wrote:


I'm using some file keys in custom actions, for example [#MyFile].  
This was working fine until I broke the core wxs file up into multiple 
files containing fragments for easier maintenance.  Since I've done 
this the file references don't seem to be evaluating to anything.  I 
get empty strings in the logs when I try to do the install.


 

Is it not possible to use formatted strings to get the path of file 
objects when the files are in a fragment?




Yes, it should work/does work for me. Can you narrow it down to a simple 
case?


--
sig://boB
http://joyofsetup.com/

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File Paths and Fragments

2007-07-31 Thread Brian Poploskie
I'm using 2.0.  It's hard enough convincing people around here to use
new tech, let alone pre-release tech.

 

They are deferred but all scheduled before InstallFinalize.  They're all
on the same schedule as they were before I moved everything to fragments
and they worked fine before.

 

Brian Poploskie



From: John Hall [mailto:[EMAIL PROTECTED] 
Sent: Tuesday, July 31, 2007 10:01 AM
To: Brian Poploskie
Cc: wix-users@lists.sourceforge.net
Subject: RE: [WiX-users] File Paths and Fragments

 

 

I'm using some file keys in custom actions, for example
[#MyFile].  This was working fine until I broke the core wxs file up
into multiple files containing fragments for easier maintenance.  Since
I've done this the file references don't seem to be evaluating to
anything.  I get empty strings in the logs when I try to do the install.

 

Is it not possible to use formatted strings to get the path of
file objects when the files are in a fragment?

 

Brian,

 

What version of WiX are you using? I am using version 3, and file keys
work for me with components in separate fragments. Is it possible you're
using deferred custom actions, in which those properties are no longer
available? See http://msdn2.microsoft.com/EN-US/library/aa370543.aspxfor
more information on what is available during a deferred CA.l

 

Cheers,

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] File Paths and Fragments

2007-07-31 Thread John Hall
 

I'm using some file keys in custom actions, for example
[#MyFile].  This was working fine until I broke the core wxs file up
into multiple files containing fragments for easier maintenance.  Since
I've done this the file references don't seem to be evaluating to
anything.  I get empty strings in the logs when I try to do the install.

 

Is it not possible to use formatted strings to get the path of
file objects when the files are in a fragment?

 

Brian,

 

What version of WiX are you using? I am using version 3, and file keys
work for me with components in separate fragments. Is it possible you're
using deferred custom actions, in which those properties are no longer
available? See http://msdn2.microsoft.com/EN-US/library/aa370543.aspx
for more information on what is available during a deferred CA.l

 

Cheers,

John

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] File Paths and Fragments

2007-07-31 Thread Brian Poploskie
I'm using some file keys in custom actions, for example [#MyFile].  This
was working fine until I broke the core wxs file up into multiple files
containing fragments for easier maintenance.  Since I've done this the
file references don't seem to be evaluating to anything.  I get empty
strings in the logs when I try to do the install.

 

Is it not possible to use formatted strings to get the path of file
objects when the files are in a fragment?

 

Brian Poploskie

-
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users