Re: [WiX-users] Create file share with ready permissions for everyone

2015-03-11 Thread Jeremiahf
Off the top of my head. You could use a CA that calls "cmd /c net share
drive:\folder  /grant:everyone,READ"

On Tue, Mar 10, 2015 at 5:00 PM, Federico Provera 
wrote:

> Using the WiX Toolset I want to create a folder and then create a file
> share for that folder so that every user has reading permission on it.
>
>
> How can I do that?
>
>
> I tried the following .wxs file:
>
>
> 
> 
> Name="Example Product Name" Version="0.0.1"
> Manufacturer="Example Company Name" Language="1033">
>   
>   
>
>  
>  
> 
> Guid="12345678-1234-1234-1234-">
>   
>   
>Description='FileShare for Workwise backend'>
> User="WorkwiseUsers" />
>   
>
> 
>  
>   
>
>   
>  
>   
>
>
>
> 
>
>
>
> And that creates the folder and the file share, but only gives permissions
> to the Workwise user. The User parameter is mandatory when creating the
> FileSharePermission. How can I create the file share with reading
> permissions to everyone (not only to the Workwise user)?
>
>
> Thanks in advance.
>
>
> Federico
>
> --
> 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] Create file share with ready permissions for everyone

2015-03-11 Thread Jeremiahf
Sorry, "cmd /c net share sharename=drive:\folder  /grant:everyone,READ"

On Wed, Mar 11, 2015 at 5:41 AM, Jeremiahf  wrote:

> Off the top of my head. You could use a CA that calls "cmd /c net share
> drive:\folder  /grant:everyone,READ"
>
> On Tue, Mar 10, 2015 at 5:00 PM, Federico Provera 
> wrote:
>
>> Using the WiX Toolset I want to create a folder and then create a file
>> share for that folder so that every user has reading permission on it.
>>
>>
>> How can I do that?
>>
>>
>> I tried the following .wxs file:
>>
>>
>> 
>> 
>>> Name="Example Product Name" Version="0.0.1"
>> Manufacturer="Example Company Name" Language="1033">
>>   
>>   
>>
>>  
>>  
>> 
>>> Guid="12345678-1234-1234-1234-">
>>   
>>   > Password='paword'/>
>>   > Description='FileShare for Workwise backend'>
>>> User="WorkwiseUsers" />
>>   
>>
>> 
>>  
>>   
>>
>>   
>>  
>>   
>>
>>
>>
>> 
>>
>>
>>
>> And that creates the folder and the file share, but only gives
>> permissions to the Workwise user. The User parameter is mandatory when
>> creating the FileSharePermission. How can I create the file share with
>> reading permissions to everyone (not only to the Workwise user)?
>>
>>
>> Thanks in advance.
>>
>>
>> Federico
>>
>> --
>> 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] Cumulative patching with Wix

2015-03-11 Thread Jani C Oinonen
Hi there,

i've finally managed to create a UAC patch from 1.0 to 1.1. This is what i 
do:

* admininstall
msiexec /a old\setuptarget.msi /quiet TARGETDIR=\patch\oldout
msiexec /a latest\setupupdate.msi /quiet TARGETDIR=\patch\latestout

* create diff file
torch -ax \oldout -p -xo \oldout\setuptarget.msi 
\latestout\setupupdate.msi -out patch\diff.wixmst

* create patch wixmsp
candle.exe patch.wxs
light.exe patch.wixobj -out patch\patch.wixmsp 

* create patch
pyro.exe patch\patch.wixmsp -out patch\patch.msp -t RTM patch\diff.wixmst 

And then i sign the patch. This seems to work fine.

My patch.wxs, that i'm testing with, looks like this:

http://schemas.microsoft.com/wix/2006/wi";>







  
  
 

Now i want to add cumulative patching in this process. And i'm stuck ...

Some questions:

How should product id's be handled? Today we're using  in in our .msi wxs file. How should we do with these? unique guid for 
each officially released installer?
At the moment we have a hardcoded upgradecode that never changes. Since 
all our patches will be installable on the previous releases i guess it's 
fine?
Is it possible to add cumulative patching with the way i'm doing things 
now?
Am i missing something important in the patch.wxs?

Best regards, Jani






The information in this email may be confidential and/or legally privileged. It 
has been sent for the sole use of the intended recipient(s). If you are not an 
intended recipient, you are strictly prohibited from reading, disclosing, 
distributing, copying or using this email or any of its contents, in any way 
whatsoever. If you have received this email in error, please contact the sender 
by reply email and destroy all copies of the original message. Please also be 
advised that emails are not a secure form for communication, and may contain 
errors.
--
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] Create file share with ready permissions for everyone

2015-03-11 Thread John Cooper
+1.  I like this approach.

>From a security point of view, I would prefer a Local Group instead of 
>Everyone.  Use the local group string in place of "Everyone", and then add 
>share users to the Local Group.  The converse of adding is that is allows you 
>to also remove users (and access) very easily.

--
John Merryweather Cooper
Senior Software Engineer | Integration Development Group | Continuing 
Development
Jack Henry & Associates, Inc.® | Lenexa, KS  66214 | Ext:  431050 
|jocoo...@jackhenry.com




-Original Message-
From: Phill Hogland [mailto:phogl...@rimage.com] 
Sent: Wednesday, March 11, 2015 8:46 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Create file share with ready permissions for everyone

>   
>Description='FileShare for Workwise backend'>
> User="WorkwiseUsers" />
>   

> And that creates the folder and the file share, but only gives 
> permissions to the Workwise user. The User parameter is mandatory when 
> creating the FileSharePermission. How can I create the file share with 
> reading permissions to everyone (not only to the Workwise user)?
>

I use:


  


To get the sddl string, configure the security and network share on a target 
system, and use the calc.exe tool to generate the sddl string.  Then edit the 
string as desired.  I have not fully tested my string yet so I don't want to 
post it just yet, but in general this approach does create a share and seth the 
permissions.

And in another component, in the group

  






--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Create-file-share-with-ready-permissions-for-everyone-tp7599519p7599524.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
NOTICE: This electronic mail message and any files transmitted with it are 
intended
exclusively for the individual or entity to which it is addressed. The message, 
together with any attachment, may contain confidential and/or privileged 
information.
Any unauthorized review, use, printing, saving, copying, disclosure or 
distribution 
is strictly prohibited. If you have received this message in error, please 
immediately advise the sender by reply email and delete all copies.


--
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] Create file share with ready permissions for everyone

2015-03-11 Thread Phill Hogland
>   
>Description='FileShare for Workwise backend'>
> User="WorkwiseUsers" />
>   

> And that creates the folder and the file share, but only gives permissions
> to the Workwise user. The User parameter is mandatory when creating the
> FileSharePermission. How can I create the file share with reading
> permissions to everyone (not only to the Workwise user)?
>

I use:


  


To get the sddl string, configure the security and network share on a target
system, and use the calc.exe tool to generate the sddl string.  Then edit
the string as desired.  I have not fully tested my string yet so I don't
want to post it just yet, but in general this approach does create a share
and seth the permissions.

And in another component, in the group

  






--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Create-file-share-with-ready-permissions-for-everyone-tp7599519p7599524.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


[WiX-users] (WiX) Write product info to registry for dual purpose installer

2015-03-11 Thread Egger, Jerome
Hello,

I'm making a dual purpose package in WiX according to this 
article.

When I initialize my Installer with MSIINSTALLPERUSER="1", the product 
information is always written to HKEY_CURRENT_USER, even when I set 
MSIINSTALLPERUSER="" in my dialog.

I expected that WiX or msi noticed that I changed to a per-machine installation 
and would write the product information to HKCU or HKLM accordingly.

How do I write the product info to HKEY_LOCAL_MACHINE if the user chose the 
per-machine installation?
Best regards,
Jérôme Egger




This message and any attachment are confidential and may be privileged. If you 
are not the intended recipient, please contact us immediately and delete this 
message and any attachment from your system.
If you are not the intended recipient you must not copy, use or store this 
message or attachment or disclose the contents to any other person.
--
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] After add reference WixNetFxExtension.dll to Setup Project, build failed‏

2015-03-11 Thread XuFei
I'm in use wixtoolset v4.0.2603.0After add reference WixNetFxExtension.dll to 
Setup Project, Build failed:Cannot find the table definitions for the 
'WixMbaPrereqInformation' table.  This is likely due to a typing error or 
missing extension.  Please ensure all the necessary extensions are supplied on 
the command line with the -ext parameter.Any one know what happened. I just 
want to add a prerequisite like this to my setup project.
   
--
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] After add reference WixNetFxExtension.dll to Setup Project, build failed‏

2015-03-11 Thread Sean Hall
The WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED property was just merged
into v4 yesterday, it's not in that build.  There seems to be another issue
here that it's complaining about WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED,
though.

On Wed, Mar 11, 2015 at 11:56 AM, XuFei  wrote:

> I'm in use wixtoolset v4.0.2603.0After add reference WixNetFxExtension.dll
> to Setup Project, Build failed:Cannot find the table definitions for the
> 'WixMbaPrereqInformation' table.  This is likely due to a typing error or
> missing extension.  Please ensure all the necessary extensions are supplied
> on the command line with the -ext parameter.Any one know what happened. I
> just want to add a prerequisite like this to my setup project. Id="WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED" />
> 
>
> --
> 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] Reboots

2015-03-11 Thread Ivanoff, Alex
Also, ReplacedInUseFiles property was not set, instead MsiRebootActionScheduled 
was set to 3. I cannot find any documentation on MsiRebootActionScheduled, 
should it be used?


-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com] 
Sent: Wednesday, March 11, 2015 12:18
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Reboots

1. Call MsiSetMode (..) with one of the reboot choices depending on when 
you want the reboot to happen.

2. Condition the dialog on the ReplacedInUseFiles property. That should work, 
if not use MsiGetMode() to see if a reboot is pending.
However Windows Installer will show a dialog anyway and offer the reboot 
choice, if that is sufficient for you. Otherwise you might get two, yours and 
the Windows one.
---
Phil Wilson


On Tue, Mar 10, 2015 at 1:11 PM, Ivanoff, Alex  wrote:
> I have two questions related to reboots.
>
> 1. How do I tell Windows Installer from custom action written in C that 
> reboot is required?
>
> 2. I need to show some custom UI at the end of installation if reboot is 
> pending (pure WIX, no Burn).
> --
>  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 
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] After add reference WixNetFxExtension.dll to Setup Project, build failed‏

2015-03-11 Thread XuFei
Hi Sean:Thank you for your reply.
Actually my issue is not that, just simple reference the WixNetExtension.dll to 
Setup Project do nothing else, then build will fail, BTW I use VS 2013.

if you want I can mail you a sample.

> Date: Wed, 11 Mar 2015 13:54:23 -0500
> From: r.sean.h...@gmail.com
> To: wix-users@lists.sourceforge.net
> Subject: Re: [WiX-users]  After add reference WixNetFxExtension.dll to 
> Setup Project, build failed‏
> 
> The WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED property was just merged
> into v4 yesterday, it's not in that build.  There seems to be another issue
> here that it's complaining about WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED,
> though.
> 
> On Wed, Mar 11, 2015 at 11:56 AM, XuFei  wrote:
> 
> > I'm in use wixtoolset v4.0.2603.0After add reference WixNetFxExtension.dll
> > to Setup Project, Build failed:Cannot find the table definitions for the
> > 'WixMbaPrereqInformation' table.  This is likely due to a typing error or
> > missing extension.  Please ensure all the necessary extensions are supplied
> > on the command line with the -ext parameter.Any one know what happened. I
> > just want to add a prerequisite like this to my setup project. > Id="WIX_IS_NETFRAMEWORK_451_OR_LATER_INSTALLED" />
> > 
> >
> > --
> > 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 
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] Reboots

2015-03-11 Thread Ivanoff, Alex
MsiSetMode does not seem to work when called from deferred custom action. So, 
my question should have been "How do I tell Windows Installer from deferred 
custom action written in C that reboot is required?"


-Original Message-
From: Phil Wilson [mailto:phildgwil...@gmail.com] 
Sent: Wednesday, March 11, 2015 12:18
To: General discussion about the WiX toolset.
Subject: Re: [WiX-users] Reboots

1. Call MsiSetMode (..) with one of the reboot choices depending on when 
you want the reboot to happen.

2. Condition the dialog on the ReplacedInUseFiles property. That should work, 
if not use MsiGetMode() to see if a reboot is pending.
However Windows Installer will show a dialog anyway and offer the reboot 
choice, if that is sufficient for you. Otherwise you might get two, yours and 
the Windows one.
---
Phil Wilson


On Tue, Mar 10, 2015 at 1:11 PM, Ivanoff, Alex  wrote:
> I have two questions related to reboots.
>
> 1. How do I tell Windows Installer from custom action written in C that 
> reboot is required?
>
> 2. I need to show some custom UI at the end of installation if reboot is 
> pending (pure WIX, no Burn).
> --
>  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 
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] ConfirmCancelMessage can not localized

2015-03-11 Thread Mrugesh Patel
Hello,

In Burn, all string are localized and work fine excluding 
“ConfirmCancelMessage”. This string display when click on cancel button in burn.
I can not find this in Theme.xml. I already applied localization in Theme.wxl 
file.

May be I am wrong in some where. Can you please help me?

Thanks in advance.

Mrugesh Patel

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