[WiX-users] Specifying source subdirectory

2012-05-16 Thread Martin Sustrik
Hi,

My source tree has a file in "include" subdirectory. I want to install
it to "include" subdirectory on the target box.

I do the following:

 

 

 

 

 

 

Light.exe is looking for the foo.h in the main directory (where
light.exe is run from) rather than in "include" subdirectory:

C:\Users\me\libxs\foo.wxs(98) : error LGHT0103 : The system cannot find
the file 'foo.h'.

Any ideas?
Martin

--
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


Re: [WiX-users] Running command line at the end of installation

2009-02-04 Thread Martin Sustrik
OK, thanks, I've managed to run the exe. Now, how can I delete it 
afterwards?

Thx.
Martin

Uwe Stump wrote:
> Hi Martin,
> 
> Try this (deferred execution):
> 
>  Value=""[INSTALLDIR]zmq.exe" -y" />
>  Return="check" Execute="deferred" />
> 
> 
>  After="InstallFinalize">$YourComponent>2
>  After="CA_Unpack_Cmd">$YourComponent>2
>  
> 
> Change $YourComponent by the Id of your component (a condition for a custom 
> action that should only be run at install has the following format: 
> $ComponentName>2, see: 
> http://strangelights.com/blog/archive/2004/07/07/160.aspx). Maybe you have to 
> change [INSTALLDIR] too.
> 
> Or (immediate execution):
> 
> 
>  Execute="immediate" Return="check"/>
> .
> .
> .
> 
>  After="InstallFinalize">$YourComponent>2
> 
> 
> (Do not change the Id QtExecCmdLine! see help file)
> 
> I hope it works.
> 
> Uwe
> 
> 
> 
> Hi all,
> 
> I want to run a command line at the end of installation. This is how far 
> I have got:
> 
>  
> 
>  
>  
>  
> 
> What I get is error 2721. Any advice?
> 
> Thanks.
> Martin
> 
> --
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> --
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Running command line at the end of installation

2009-02-04 Thread Martin Sustrik
Hi all,

I want to run a command line at the end of installation. This is how far 
I have got:

 

 
 
 

What I get is error 2721. Any advice?

Thanks.
Martin

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Very Simple Installer

2009-02-03 Thread Martin Sustrik
Thx. Will try.

Martin

patrik.torn...@addiva.se wrote:
> 1 create a self extract zip
> 2 embeed zip file in wix
> 3 move zip file to directory
> 4 run custom action to start file like start a exe
> 
> on reinstall remove all files from directory then 1-4
> 
> Citerar Martin Sustrik :
> 
>> Castro, Edwin (Hillsboro) wrote:
>>> Do you need to handle upgrades? If so, how are you going to handle 
>>> file renames, deletions, etc?
>> Install into single directory. With new version delete the directory and
>> install in anew. No registry keys. No icons. No menu items. No fancy
>> stuff :)
>>
>> Martin
>>
>> --
>> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
>> software. With Adobe AIR, Ajax developers can use existing skills and code to
>> build responsive, highly engaging applications that combine the power 
>> of local
>> resources and data with the reach of the web. Download the Adobe AIR SDK and
>> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
> 
> 
> 
> 
> --
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Very Simple Installer

2009-02-03 Thread Martin Sustrik
Ok, let me explain the problem.

We have a multiplatform product that's distributed on ~10 platforms. 
Handling a separate distro project for windows is not an option - we 
would get out of sync pretty quickly. Build system and distribution 
system has to be unified.

On other platforms it's pretty simple. Package the source code using 
autotools, let users install it using standard ./configure make make 
install procedure.

This won't work on Windows, so we would like to take the directory, zip 
it and deploy it that way.

We're trying to use msi because people are accustomed to installing 
software the fancy way on Win32. However, if there's no way to create a 
simple installer, we would have to go with a raw zip file.

Martin

Neil Sleightholm wrote:
> 1. Don't do it - in the long run it will bite you.
> 2. Take a look at Inno Setup.
> 3. If you stay with WiX try using the Heat tool to create the XML, on
> simple installs it does a pretty good job.
> 
> Neil
> 
> -Original Message-
> From: Martin Sustrik [mailto:sust...@fastmq.com] 
> Sent: 03 February 2009 20:03
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Very Simple Installer
> 
> :(
> 
> Any other tool that would be basically simple zip/unzip + add a nice 
> windowsey GUI to the install?
> 
> Martin
> 
> Chad Petersen wrote:
>> V2 is the same as v3 in this regard. No built-in support for wildcard
>> inclusion of files.
>>
>> -Original Message-
>> From: Martin Sustrik [mailto:sust...@fastmq.com] 
>> Sent: Tuesday, February 03, 2009 11:47 AM
>> To: General discussion for Windows Installer XML toolset.
>> Subject: Re: [WiX-users] Very Simple Installer
>>
>> Thanks David,
>>
>> What about using v2? Can you point me to the place to look for the
>> feature?
>>
>> Martin
>>
>> David Reed wrote:
>>> I'm pretty sure that there used to be, Martin, but I don't see it in
>> v3; IIRC, wildcard support was explicitly dropped "by design".
>>> If you figure it out and I missed it somewhere, LMK! We wrote a
> custom
>> MSBuild task to rip through a directory tree and write out include
> files
>> for WiX to do this. It's on out CodePlex now in our root project, but
>> that reminds me that I've been meaning to contribute it to the MSBuild
>> community tasks project...
>>>
>>> -Original Message-
>>> From: Martin Sustrik [mailto:sust...@fastmq.com] 
>>> Sent: Tuesday, February 03, 2009 11:25
>>> To: wix-users@lists.sourceforge.net
>>> Subject: [WiX-users] Very Simple Installer
>>>
>>> Hi,
>>>
>>> I have a directory tree I want to install at a user-specified
>> location.
>>> It's as simple as that... however, I don't want to manage large xml
>>> definition file with an entry for each file to be packaged.
>>>
>>> Is there a way to do that with WiX?
>>>
>>> Thanks.
>>> Martin
>>>
>>>
> 
>> --
>>> Create and Deploy Rich Internet Apps outside the browser with
>> Adobe(R)AIR(TM)
>>> software. With Adobe AIR, Ajax developers can use existing skills and
>> code to
>>> build responsive, highly engaging applications that combine the power
>> of local
>>> resources and data with the reach of the web. Download the Adobe AIR
>> SDK and
>>> Ajax docs to start building applications
>> today-http://p.sf.net/sfu/adobe-com
>>> ___
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>>
>>>
>>>
> 
>> --
>>> Create and Deploy Rich Internet Apps outside the browser with
>> Adobe(R)AIR(TM)
>>> software. With Adobe AIR, Ajax developers can use existing skills and
>> code to
>>> build responsive, highly engaging applications that combine the power
>> of local
>>> resources and data with the reach of the web. Download the Adobe AIR
>> SDK and
>>> Ajax docs to start building applications
>> today-http://p.sf.net/sfu/adobe-com
>>> ___
>>> WiX-users mailing list
>>> WiX-users@lists.sourceforge.net
>>> https

Re: [WiX-users] Very Simple Installer

2009-02-03 Thread Martin Sustrik
Castro, Edwin (Hillsboro) wrote:
> Do you need to handle upgrades? If so, how are you going to handle file 
> renames, deletions, etc?

Install into single directory. With new version delete the directory and 
install in anew. No registry keys. No icons. No menu items. No fancy 
stuff :)

Martin

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Very Simple Installer

2009-02-03 Thread Martin Sustrik
What about:

1. make zip by hand
2. add the zip file as a single file into a wix project
3. add a custom step that unzips the file

Would that work?

Martin

Curtis Jewell wrote:
> And in my case, I'm doing the ripping using Perl instead of MSBuild.
> Works for me, at least.
> 
> (Of course, the package I'm writing is customized FOR packaging Perl and
> perl modules on 32-bit Windows, but a lot of the code should still be
> usable, and I may very well generalize it later!  AND, it's GPL/Artistic
> licensed like most Perl code.  The repository is at
> http://svn.ali.as/cpan/trunk/Perl-Dist-WiX/ if anybody wants to take a
> look. Head down into the lib directory for the module source.)
> 
> --Curtis
> 
> On Tue, 3 Feb 2009 11:33:22 -0800, "David Reed"
>  said:
>> I'm pretty sure that there used to be, Martin, but I don't see it in v3;
>> IIRC, wildcard support was explicitly dropped "by design".
>>
>> If you figure it out and I missed it somewhere, LMK! We wrote a custom
>> MSBuild task to rip through a directory tree and write out include files
>> for WiX to do this. It's on out CodePlex now in our root project, but
>> that reminds me that I've been meaning to contribute it to the MSBuild
>> community tasks project...
>>
>>
>>
>> -Original Message-
>> From: Martin Sustrik [mailto:sust...@fastmq.com] 
>> Sent: Tuesday, February 03, 2009 11:25
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] Very Simple Installer
>>
>> Hi,
>>
>> I have a directory tree I want to install at a user-specified location.
>> It's as simple as that... however, I don't want to manage large xml
>> definition file with an entry for each file to be packaged.
>>
>> Is there a way to do that with WiX?
>>
>> Thanks.
>> Martin
> --
> Curtis Jewell
> swords...@csjewell.fastmail.us
> 
> %DCL-E-MEM-BAD, bad memory
> -VMS-F-PDGERS, pudding between the ears
> 
> [I use PC-Alpine, which deliberately does not display colors and pictures in 
> HTML mail]
> 
> 
> --
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Very Simple Installer

2009-02-03 Thread Martin Sustrik
:(

Any other tool that would be basically simple zip/unzip + add a nice 
windowsey GUI to the install?

Martin

Chad Petersen wrote:
> V2 is the same as v3 in this regard. No built-in support for wildcard
> inclusion of files.
> 
> -Original Message-----
> From: Martin Sustrik [mailto:sust...@fastmq.com] 
> Sent: Tuesday, February 03, 2009 11:47 AM
> To: General discussion for Windows Installer XML toolset.
> Subject: Re: [WiX-users] Very Simple Installer
> 
> Thanks David,
> 
> What about using v2? Can you point me to the place to look for the
> feature?
> 
> Martin
> 
> David Reed wrote:
>> I'm pretty sure that there used to be, Martin, but I don't see it in
> v3; IIRC, wildcard support was explicitly dropped "by design".
>> If you figure it out and I missed it somewhere, LMK! We wrote a custom
> MSBuild task to rip through a directory tree and write out include files
> for WiX to do this. It's on out CodePlex now in our root project, but
> that reminds me that I've been meaning to contribute it to the MSBuild
> community tasks project...
>>
>>
>> -Original Message-
>> From: Martin Sustrik [mailto:sust...@fastmq.com] 
>> Sent: Tuesday, February 03, 2009 11:25
>> To: wix-users@lists.sourceforge.net
>> Subject: [WiX-users] Very Simple Installer
>>
>> Hi,
>>
>> I have a directory tree I want to install at a user-specified
> location.
>> It's as simple as that... however, I don't want to manage large xml
>> definition file with an entry for each file to be packaged.
>>
>> Is there a way to do that with WiX?
>>
>> Thanks.
>> Martin
>>
>>
> 
> --
>> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
>> software. With Adobe AIR, Ajax developers can use existing skills and
> code to
>> build responsive, highly engaging applications that combine the power
> of local
>> resources and data with the reach of the web. Download the Adobe AIR
> SDK and
>> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
>>
>>
>>
> 
> --
>> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
>> software. With Adobe AIR, Ajax developers can use existing skills and
> code to
>> build responsive, highly engaging applications that combine the power
> of local
>> resources and data with the reach of the web. Download the Adobe AIR
> SDK and
>> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
>> ___
>> WiX-users mailing list
>> WiX-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> --
> Create and Deploy Rich Internet Apps outside the browser with
> Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and
> code to
> build responsive, highly engaging applications that combine the power of
> local
> resources and data with the reach of the web. Download the Adobe AIR SDK
> and
> Ajax docs to start building applications
> today-http://p.sf.net/sfu/adobe-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> 
> --
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Very Simple Installer

2009-02-03 Thread Martin Sustrik
Thanks David,

What about using v2? Can you point me to the place to look for the feature?

Martin

David Reed wrote:
> I'm pretty sure that there used to be, Martin, but I don't see it in v3; 
> IIRC, wildcard support was explicitly dropped "by design".
> 
> If you figure it out and I missed it somewhere, LMK! We wrote a custom 
> MSBuild task to rip through a directory tree and write out include files for 
> WiX to do this. It's on out CodePlex now in our root project, but that 
> reminds me that I've been meaning to contribute it to the MSBuild community 
> tasks project...
> 
> 
> 
> -Original Message-
> From: Martin Sustrik [mailto:sust...@fastmq.com] 
> Sent: Tuesday, February 03, 2009 11:25
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Very Simple Installer
> 
> Hi,
> 
> I have a directory tree I want to install at a user-specified location.
> It's as simple as that... however, I don't want to manage large xml
> definition file with an entry for each file to be packaged.
> 
> Is there a way to do that with WiX?
> 
> Thanks.
> Martin
> 
> --
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> --
> Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
> software. With Adobe AIR, Ajax developers can use existing skills and code to
> build responsive, highly engaging applications that combine the power of local
> resources and data with the reach of the web. Download the Adobe AIR SDK and
> Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Very Simple Installer

2009-02-03 Thread Martin Sustrik
Hi,

I have a directory tree I want to install at a user-specified location. 
It's as simple as that... however, I don't want to manage large xml 
definition file with an entry for each file to be packaged.

Is there a way to do that with WiX?

Thanks.
Martin

--
Create and Deploy Rich Internet Apps outside the browser with Adobe(R)AIR(TM)
software. With Adobe AIR, Ajax developers can use existing skills and code to
build responsive, highly engaging applications that combine the power of local
resources and data with the reach of the web. Download the Adobe AIR SDK and
Ajax docs to start building applications today-http://p.sf.net/sfu/adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users