In that case, I am not sure how to help you.  It has been my experience that 
the exe is run from the cached location, so I don't know what is different for 
you.  One thing that might be different is that the bundle I work with has lots 
of things to install, so we have placed all of the files in the 
packages\<BundleName> folder on the install media.  So we are not including 
them in the bundle exe, and they are not in the same dir as the bundle exe.  
One of those might make a difference.
--matt

-----Original Message-----
From: Miss Parker [mailto:caisa.westl...@gmail.com] 
Sent: Wednesday, June 13, 2012 1:27 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Burn: Exe package can't find payload file that's not a 
dll.

Hi Matt!

You mean like this?

 <ExePackage Id="TTUpdate" SourceFile="C:\Downloads\setversion.EXE"
PerMachine="yes" Vital="yes" >
        <Payload Id="Versiontext" SourceFile="C:\Downloads\version.txt" />      
  
</ExePackage>

This is the way I have it today, and both files are copied to the same package 
cache folder, but since the installation process of the exe isn't started from 
that folder it's not going to find the text file. The process is started from 
the path where the BA.exe is, and that's where it's looking for the text file.

When I have the same case but the payload is a dll, then there is no problem 
(maybe the dll gets registered in GAC?)

//Caisa

--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Burn-Exe-package-can-t-find-payload-file-that-s-not-a-dll-tp7578750p7578794.html
Sent from the wix-users mailing list archive at Nabble.com.

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and threat 
landscape has changed and how IT managers can respond. Discussions will include 
endpoint security, mobile security and the latest in malware threats. 
http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Reply via email to