I am not sure exactly how to do this, but you should be able to do what you 
want by caching the exe payload, and having the text file in the same payload.  
I know that this is done for MSI files and external cabs, so the engine 
supports it.  But I am not sure of what the syntax would be.  I think you will 
need a payload element under the ExePackage element, but haven't looked up the 
exact syntax.
--matt

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

Hi,

I really need some creative ideas here, some out of the box thinking. 

I have a situation where an exe package has a payload file (a text file), and 
for this to work under normal circumstances (without Burn, just double click on 
the exe) the payload file needs to be placed in the same folder as the exe.

But! When I install using Burn and my Bootstrapper application the exe doesn't 
find the payload file for the simple reason that the installation isn't started 
in the same folder as where the exe and payload file are placed (package 
cache\etc...). Since the process is started by the bootstrapper, it also looks 
for the payload file in that folder. 

I tried using the layout switch, which worked really well until I realized that 
when the user downloads the Bootstrapper application he/she might put on the 
desktop. This means that all the installation files also are put there. Not 
pretty.

My only solution right now is to create an exe that when extracted puts the 
Bootstrapper app in a new folder somewhere, but I would really like to make 
this work using Burn instead.

Ideas anyone?

//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-tp7578750.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