Re: [WiX-users] Adding service installation to wix installer

2014-12-31 Thread Justin Dyer
I followed the same pattern as I did with my windows app by adding wixproj
with this. Shouldn't this have copied over my files?




  false
  INSTALLFOLDER
  ComponentGroup.Service
  var.ServiceDir
  true

  


  
  ..\PRISMContingencyService\bin\$(Configuration)\

$(DefineConstants);ServiceDir=$(ServiceDir)
  

On Wed, Dec 31, 2014 at 4:42 PM, Phil Wilson  wrote:

> In general you just add your dependent Dlls as components under that
> DirectoryRef that has the service in it. Then they get installed to
> the same folder.  The more complicated issue is that you named things
> (like sql lite) that often have their own redist packages. For
> example, Log4Net seems to come from Crystal Reports, perhaps they have
> a merge module you can include, maybe this
>
> http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0.zip
> ---
> Phil Wilson
>
>
> On Tue, Dec 30, 2014 at 6:03 PM, Justin Dyer 
> wrote:
> > I am completely new to wix, so bare with me here. I have followed a guide
> > here
> >
> http://nicholasarmstrong.com/2014/08/sideloading-windows-8-apps-with-wix/
> > to create an installer that sideloads a windows 8.1 application. I have
> > that working after messing with it for a while. I also want my wix
> > installer to install a service. My service has a number of dependency
> DLLs
> > such as log4net, sqlite, etc. I tried following this guide
> > http://www.talksharp.com/wix-toolset-install-windows-service to
> integrate
> > what I saw there into my existing installer that does the sideloading. At
> > first, the installer was place the service executable in the installation
> > directory, but there would not be any of the included DLLs necessary for
> it
> > to run. I am just lost at this point trying to take those two examples
> and
> > merge them into what I want working.
> >
> > I have added the service project as a reference to my wix project.
> >
> > I have also added this to my wixproj file:
> > 
> >   
> >
>  ..\PRISMContingencyService\bin\$(Configuration)\
> >
> >
> $(DefineConstants);ServiceDir=$(ServiceDir)
> >   
> > 
> > 
> > 
> >   false
> >   INSTALLFOLDER
> >   ComponentGroup.Service
> >   var.ServiceDir
> >   true
> > 
> >   
> >
> >
> > In the config.wxi file I have a number of lines including:
> > 
> >
> >
> >
> > And I think this is the relevant part in the Setup.wxs file that I can't
> > figure out:
> >  > Level="1">
> >   
> >   
> >   
> >   
> > 
> >
> > 
> >   
> >
> >   
> > 
> >   
> > 
> >   
> > 
> >
> > 
> > 
> >   
> >   
> > 
> >  > Source="[INSTALLFOLDER]\$(var.ServiceExeName)" KeyPath="yes" />
> > 
> > 
> > 
> >  > Type="ownProcess"
> > Name="PRISMContingencyService"
> > DisplayName="PRISMContingencyService"
> > Description="Service for the PRISM Contingency Windows
> > Application."
> > Start="auto"
> > ErrorControl="normal"
> > Account="localSystem"
> > Vital="yes"/>
> > 
> >  > Remove="uninstall" Name="PRISMContingencyService" Wait="yes" />
> >   
> > 
> >   
> >
> >
> --
> > Dive into the World of Parallel Programming! The Go Parallel Website,
> > sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> > hub for all things parallel software development, from weekly thought
> > leadership blogs to news, videos, case studies, tutorials and more. Take
> a
> > look and join the conversation now. http://goparallel.sourceforge.net
> > ___
> > WiX-users mailing list
> > WiX-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/wix-users
> >
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversat

Re: [WiX-users] Adding service installation to wix installer

2014-12-31 Thread Phil Wilson
In general you just add your dependent Dlls as components under that
DirectoryRef that has the service in it. Then they get installed to
the same folder.  The more complicated issue is that you named things
(like sql lite) that often have their own redist packages. For
example, Log4Net seems to come from Crystal Reports, perhaps they have
a merge module you can include, maybe this
http://downloads.businessobjects.com/akdlm/cr4vs2010/CRforVS_redist_install_64bit_13_0.zip
---
Phil Wilson


On Tue, Dec 30, 2014 at 6:03 PM, Justin Dyer  wrote:
> I am completely new to wix, so bare with me here. I have followed a guide
> here
> http://nicholasarmstrong.com/2014/08/sideloading-windows-8-apps-with-wix/
> to create an installer that sideloads a windows 8.1 application. I have
> that working after messing with it for a while. I also want my wix
> installer to install a service. My service has a number of dependency DLLs
> such as log4net, sqlite, etc. I tried following this guide
> http://www.talksharp.com/wix-toolset-install-windows-service to integrate
> what I saw there into my existing installer that does the sideloading. At
> first, the installer was place the service executable in the installation
> directory, but there would not be any of the included DLLs necessary for it
> to run. I am just lost at this point trying to take those two examples and
> merge them into what I want working.
>
> I have added the service project as a reference to my wix project.
>
> I have also added this to my wixproj file:
> 
>   
>   ..\PRISMContingencyService\bin\$(Configuration)\
>
> $(DefineConstants);ServiceDir=$(ServiceDir)
>   
> 
> 
> 
>   false
>   INSTALLFOLDER
>   ComponentGroup.Service
>   var.ServiceDir
>   true
> 
>   
>
>
> In the config.wxi file I have a number of lines including:
> 
>
>
>
> And I think this is the relevant part in the Setup.wxs file that I can't
> figure out:
>  Level="1">
>   
>   
>   
>   
> 
>
> 
>   
>
>   
> 
>   
> 
>   
> 
>
> 
> 
>   
>   
> 
>  Source="[INSTALLFOLDER]\$(var.ServiceExeName)" KeyPath="yes" />
> 
> 
> 
>  Type="ownProcess"
> Name="PRISMContingencyService"
> DisplayName="PRISMContingencyService"
> Description="Service for the PRISM Contingency Windows
> Application."
> Start="auto"
> ErrorControl="normal"
> Account="localSystem"
> Vital="yes"/>
> 
>  Remove="uninstall" Name="PRISMContingencyService" Wait="yes" />
>   
> 
>   
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WiX books $5 until Jan 6

2014-12-31 Thread Nick Ramirez
I saw this and thought I'd pass it along. Books on the Packt Publishers
website are $5 until Jan 6. Includes the WiX book and the pre-release of the
new WiX Cookbook.

www.packtpub.com/all/?search=wix





--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/WiX-books-5-until-Jan-6-tp7598689.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing certificate in the 'Personal' store

2014-12-31 Thread Nick Ramirez
Shouldn't need CreateFolder either.

Can you use a Property to store the password? Put the Hidden attribute on
it. I'd check the log after that to make sure it's hidden. 

I am assuming the the IisExtension hides its custom action data already
(CustomAction/@HideTarget).



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installing-certificate-in-the-Personal-store-tp7598665p7598687.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Text files

2014-12-31 Thread Will Saxon
I did something like this for a small project last week by writing a custom
action. In my case, I had very specific changes to make (single line
changes based on UI responses), so I wrote an action for each one with a
private method implementing the boilerplate part of the change. It ended up
being pretty easy to do.

On Wed, Dec 31, 2014 at 2:30 AM, Majcica, Mario <
mario.majc...@bakerhughes.com> wrote:

> Hi all,
>
> I have a need to remove some lines of text out of the .txt files I'm
> deploying via wix. This is pretty simple to do with XML files and I was
> wondering how to do it when it comes to plain text files.
> Any suggestion is welcome as seems google has nothing interesting to
> propose on this argument.
>
> Thanks
>
> Mario Majcica
>
>
> --
> Dive into the World of Parallel Programming! The Go Parallel Website,
> sponsored by Intel and developed in partnership with Slashdot Media, is
> your
> hub for all things parallel software development, from weekly thought
> leadership blogs to news, videos, case studies, tutorials and more. Take a
> look and join the conversation now. http://goparallel.sourceforge.net
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing certificate in the 'Personal' store

2014-12-31 Thread ronif
Thanks for all the answers!

one more question:
How can I avoid leaving the password for my certificate in plaintext @ the
element?
Is there a way to encrypt it?

(and you were right about the  tag, I replaced it with  because every component needs to make sure it has a directory/file/...)



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Installing-certificate-in-the-Personal-store-tp7598665p7598684.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Dive into the World of Parallel Programming! The Go Parallel Website,
sponsored by Intel and developed in partnership with Slashdot Media, is your
hub for all things parallel software development, from weekly thought
leadership blogs to news, videos, case studies, tutorials and more. Take a
look and join the conversation now. http://goparallel.sourceforge.net
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users