Re: [WiX-users] Question reagrding Wix Conditions

2010-03-11 Thread Pally Sandher
Not using the standard Windows Installer UI. ScrollableText controls
don't have that sort of functionality.

You'd need to write your own UI replacement to achieve that.

Palbinder Sandher 
Software Deployment  IT Administrator
T: +44 (0) 141 945 8500 
F: +44 (0) 141 945 8501 

http://www.iesve.com 
**Design, Simulate + Innovate with the Virtual Environment**
Integrated Environmental Solutions Limited. Registered in Scotland No.
SC151456 
Registered Office - Helix Building, West Of Scotland Science Park,
Glasgow G20 0SP
Email Disclaimer


-Original Message-
From: Gupta, Anshumali S (Anshu) [mailto:agup...@avaya.com] 
Sent: 11 March 2010 04:40
To: Gupta, Anshumali S (Anshu); wix-users@lists.sourceforge.net
Subject: [WiX-users] Question reagrding Wix Conditions

Hello,

 

I am using WIXUI_INSTALLDIR dialog in my Wix setup program. In the EULA
screen, I want the I agree... checkbox to get enabled only when the
user has scrolled through the entire License text. Is there any way this
can be done?

 

Thanks

 

Anshu

 


--
Download Intel#174; Parallel Studio Eval Try the new software tools for
yourself. Speed compiling, find bugs proactively, and fine-tune
applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Wix 2.0 to Wix 3.0

2010-03-11 Thread Anurag Pahwa
Hi Guys,

Our product installer currently is WIX 2.0 and we are thinking of moving to Wix 
3.0. Is it possible to do that in a patch or we have to do in a minor upgrade 
as there must be huge changes between wix 2.0 and wix 3.0.

Thanks
Anurag

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Using superscript text in a dialog?

2010-03-11 Thread Tabmow

Hi all,
I searched around and didn't find this anywhere, so here goes:   I have
a dialog panel where i want to put COMPANY NAMEtm with the tm portion as
a superscript, ie. raised 1/2 way above COMPANY NAME.Is this possible?   
I see discussion on how to use CodePage and create special chars like the
copyright (C) symbol, but nothing about superscript, or superscripted TM
at the very least :) 
Any ideas or suggestions?

Thanks!
-- 
View this message in context: 
http://n2.nabble.com/Using-superscript-text-in-a-dialog-tp4716285p4716285.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] install service

2010-03-11 Thread Shabbir Ahsan

Hi,

 

I am attempting to install a windows service with wix but keep getting the 
following error:

 
Service 'MyService' (MyService) could not be installed.  Verify that you have 
sufficient privileges to install system services.
 

I have attempted as normal user, full admin user, but still get this message.  
Creating an install log, I can see the same error pessage but with Error 1923 
appended.  Looking this up, I can see the same erro message -ie no more info is 
available on this.

 

The code in my wxs file is:

 

File Id=MyServiceFile Name=$(var.MyService.TargetFileName) 
Source=$(var.MyService.TargetPath)

DiskId=1 KeyPath=yes /

ServiceInstall Id=MyService

Name=MyService Account=NetworkService

Type=ownProcess

ErrorControl=normal

Description=my description

Start=auto



 

any help is much appreciated. thanks.

 
  
_
Do you have a story that started on Hotmail? Tell us now
http://clk.atdmt.com/UKM/go/195013117/direct/01/
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] install service

2010-03-11 Thread Rob Hamflett
If you don't specify a user it gets installed as the SYSTEM user, and in this 
case it should work. 
If you need to specify a different user then things get diffcult.  I looked at 
this a few years ago 
on XP (at the time Vista wasn't out yet, so who knows what happens there) and 
if I remember 
correctly none of the other users have permission to start a service by 
default, even the 
Administrator.  If you open the Services panel and change the login details for 
a service, then the 
Administrator user is auto-granted the necessary permissions (a dialog tells 
you so), but until that 
point it's not capable.  I got round it by writing a deferred custom action 
that gave the given user 
the necessary rights.  Thankfully it all got abandoned as we removed the option 
to specify the user 
the service ran as.

Rob

On 11/03/2010 16:21, Shabbir Ahsan wrote:

 Hi,



 I am attempting to install a windows service with wix but keep getting the 
 following error:


 Service 'MyService' (MyService) could not be installed.  Verify that you have 
 sufficient privileges to install system services.


 I have attempted as normal user, full admin user, but still get this message. 
  Creating an install log, I can see the same error pessage but with Error 
 1923 appended.  Looking this up, I can see the same erro message -ie no more 
 info is available on this.



 The code in my wxs file is:



 File Id=MyServiceFile Name=$(var.MyService.TargetFileName) 
 Source=$(var.MyService.TargetPath)

 DiskId=1 KeyPath=yes /

 ServiceInstall Id=MyService

 Name=MyService Account=NetworkService

 Type=ownProcess

 ErrorControl=normal

 Description=my description

 Start=auto





 any help is much appreciated. thanks.


   
 _
 Do you have a story that started on Hotmail? Tell us now
 http://clk.atdmt.com/UKM/go/195013117/direct/01/
 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Patching a single component

2010-03-11 Thread Andy Glass
I figured it out.  Deep down in the comments on one of Peter Marcu's Blog posts 
about patching:

The PatchFamily filters on components and the fragments they are contained 
within. E.g. if you reference a component that [is] contained within a fragment 
with 10 other components. The patch will contain all 11 components. - John

Hopefully someone else will find this information helpful.

-And 

-Original Message-
From: Andy Glass [mailto:agl...@laserfiche.com] 
Sent: Wednesday, March 10, 2010 3:30 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching a single component

It looks like that would work for patching using .pcp files, since when you do 
the required administrative install, you have control over which files are 
actually present.  I was hoping for a solution in which I could still use the 
.wixpdb files to generate a .wixmst.

-Original Message-
From: Wilson, Phil [mailto:phil.wil...@invensys.com] 
Sent: Wednesday, March 10, 2010 3:15 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Patching a single component

I'm not sure where this is specified in WiX patching, but the PCP file has a 
TargetImages table with an IgnoreMissingSrcFiles option that sounds like what 
you want:

http://msdn.microsoft.com/en-us/library/aa372066(VS.85).aspx 


Phil Wilson 

-Original Message-
From: Andy Glass [mailto:agl...@laserfiche.com] 
Sent: Wednesday, March 10, 2010 1:46 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Patching a single component

As part of my first foray into the world of patching, I have been tasked with 
creating hotfix patches for our product.  As part of the daily build, the 
version numbers for all files in the product are incremented, but I only want 
to patch the specific files that were fixed as part of the hotfix.

After reading through the tutorial, various blogs, and the mailing list 
archives, I got the implication that adding a ComponentRef as a child of my 
PatchFamily would do what I want, so I went ahead and created a patch for 
Component A.  After installing the patch, not only was the file in Component A 
updated to the new version, so were all other files that had changed between 
the builds.

Is there some way to create a patch that only includes a single file, despite 
the two .wixpdb files used to create it having many other differences, or would 
I need to generate the patch using a .wixpdb file that only contained the 
change for the file I wish to patch?

-Andy

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


*** Confidentiality Notice: This e-mail, including any associated or attached 
files, is intended solely for the individual or entity to which it is 
addressed. This e-mail is confidential and may well also be legally privileged. 
If you have received it in error, you are on notice of its status. Please 
notify the sender immediately by reply e-mail and then delete this message from 
your system. Please do not copy it or use it for any purposes, or disclose its 
contents to any other person. This email comes from a division of the Invensys 
Group, owned by Invensys plc, which is a company registered in England and 
Wales with its registered office at Portland House, Bressenden Place, London, 
SW1E 5BF (Registered number 166023). For a list of European legal entities 
within the Invensys Group, please go to 
http://www.invensys.com/legal/default.asp?top_nav_id=77nav_id=80prev_id=77. 
You may contact Invensys plc on +44 (0)20 7821 3848 or e-mail 
inet.hqhelpd...@invensys.com. This e-mail 
 
 and any attachments thereto may be subject to the terms of any agreements 
between Invensys (and/or its subsidiaries and affiliates) and the recipient 
(and/or its subsidiaries and affiliates).



--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and 

Re: [WiX-users] Wix 2.0 to Wix 3.0

2010-03-11 Thread Jeremy Farrell
Your question doesn't make sense. WiX 2.0 and WiX 3.0 are releases of
the WiX toolset which you use to build MSIs (product installers) - WiX
is not a product installer. To move from one to the other you just
upgrade the WiX toolset on your build machine, following the
instructions with the new release. Whether that's done by a patch or a
minor upgrade (or, much more likely, a major upgrade or an
uninstall/install) is decided by the team which creates the new release
- you just do what the instructions tell you to do.

Once you have the new version of WiX installed, you update your
installer sources (.wxs files and relatives) to the new WiX schema. The
wixcop tool in the new release should help a lot with these updates.

 From: Anurag Pahwa [mailto:apa...@microsoft.com] 
 Sent: Thursday, March 11, 2010 2:13 PM
 
 Hi Guys,
 
 Our product installer currently is WIX 2.0 and we are 
 thinking of moving to Wix 3.0. Is it possible to do that in a 
 patch or we have to do in a minor upgrade as there must be 
 huge changes between wix 2.0 and wix 3.0.
 
 Thanks
 Anurag

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix 2.0 to Wix 3.0

2010-03-11 Thread Anurag Pahwa
We've already upgraded the installer sources and built the MSI (using WIX 3.0) 
and wanted to know if we can release a patch (MSP) that targets the MSI (built 
using WIX 2.0). I know we can decide whether to ship it as a patch or minor 
upgrade or a major upgrade but to decide we wanted to know whether its even 
possible to do that using a patch or not and if there are any recommendations?

-Original Message-
From: Jeremy Farrell [mailto:jfarr...@pillardata.com] 
Sent: Thursday, March 11, 2010 1:24 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix 2.0 to Wix 3.0

Your question doesn't make sense. WiX 2.0 and WiX 3.0 are releases of
the WiX toolset which you use to build MSIs (product installers) - WiX
is not a product installer. To move from one to the other you just
upgrade the WiX toolset on your build machine, following the
instructions with the new release. Whether that's done by a patch or a
minor upgrade (or, much more likely, a major upgrade or an
uninstall/install) is decided by the team which creates the new release
- you just do what the instructions tell you to do.

Once you have the new version of WiX installed, you update your
installer sources (.wxs files and relatives) to the new WiX schema. The
wixcop tool in the new release should help a lot with these updates.

 From: Anurag Pahwa [mailto:apa...@microsoft.com] 
 Sent: Thursday, March 11, 2010 2:13 PM
 
 Hi Guys,
 
 Our product installer currently is WIX 2.0 and we are 
 thinking of moving to Wix 3.0. Is it possible to do that in a 
 patch or we have to do in a minor upgrade as there must be 
 huge changes between wix 2.0 and wix 3.0.
 
 Thanks
 Anurag

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] SqlExtension bug with existing databases

2010-03-11 Thread Bazarewsky, Michael C.
All,

http://www.wixwiki.com/index.php?title=SqlExtension states:

There is a serious bug with how the SqlExtension handles the SqlDatabase 
Element when creating a database. If a database with the same name already 
exists it will always be dropped. At this time it is not recommended to use the 
SqlExtension to create databases.

Our testing suggests that this bug has been resolved sometime in the three 
years since that statement was written.  Can someone quickly confirm that for 
us?  We are using 3.0.5419.

Thanks,
Michael C. Bazarewsky

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] InstallExecuteSequence and properties from UI

2010-03-11 Thread Орёл Александр
Hi!

First, sorry for my bad english (may be..).

I have custom dialog with checkboxes, binded to properties and some actions
attached to controls in this dialog. This works well. But then I need to use
values of this properties in custom action, executed in
InstallExecuteSequence and.. this properties always have it's initial
values. Also some properties created in custom action in InstallUISequence -
I can't see this properties in InstallExecuteSequence custom action (I use
managed custom actions and session[property] always return null).

What is wrong?
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] install service

2010-03-11 Thread Nick Ramirez

Have you tried using the fully qualified name for the NetworkService user?
Such as NT AUTHORITY\NetworkService?
-- 
View this message in context: 
http://n2.nabble.com/install-service-tp4716985p4718779.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Is it possible to let WiX use User Specified value during install?

2010-03-11 Thread Karen Lin
I have the following in my .wxs file now, 

 

  DirectoryRef Id=DesktopFolder

Component Id=mVPClientDesktopShortcut
Guid=147FC92C-AC01-4CD1-A2AB-A0B889A2E12E

  CreateFolder/

  RegistryValue Root=HKCU Key=Software\Solarsoft\mVP\Client
Name=DesktopShortcut Type=integer Value=1 KeyPath=yes /

  Shortcut Id=AppStartDesktopShortcut Name=mVP Client
Description=Solarsoft mVP Client
Target=[APPLICATIONDIR]etAppStart.exe
WorkingDirectory=APPLICATIONDIR /

/Component

  /DirectoryRef

 

This will put the etAppStart.exe under APPLICATIONDIR, since
APPLICATIONDIR is a predefined variable  however, let's say, I need my
user to enter a value for SERVER_DIR , and SERVER_DIR is not a
predefined variable, what should I do, such that I will be able to put
etAppStart.exe under [SERVER_DIR]\Client Setup? I don't need to create a
short cut though? I just need to put the .exe under SERVER_DIR.

 

Please let me know..

 

Thanks a lot!!

---

Karen Lin

Software Developer

Solarsoft Business Systems

T 905.224. Ext 360

F 905.224.2221

www.solarsoft.com

 

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence and properties from UI

2010-03-11 Thread Nick Ramirez

Are your properties public, meaning are their Ids uppercase? If they're not,
they won't pass from the UI to the Execute phase. 

example:

Control
Id=myCheckbox
Type=CheckBox
CheckBoxValue=my value
X=50
Y=50
Height=10
Width=150
Text=Check the box please.
Property=CHECKBOX_PROPERTY /

And do you see the property being set in the install log? Like...

MSI (c) (98:F0) [12:04:32:046]: PROPERTY CHANGE: Adding CHECKBOX_PROPERTY
property. Its value is
'my value'.
-- 
View this message in context: 
http://n2.nabble.com/InstallExecuteSequence-and-properties-from-UI-tp4718706p4719016.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Combobox Display Question/Problem

2010-03-11 Thread Nick Ramirez

Add the ComboList=yes attribute to the control. Also, you may want to add
Sorted=yes. Hope that helps.


-- 
View this message in context: 
http://n2.nabble.com/Combobox-Display-Question-Problem-tp4677659p4719093.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] InstallExecuteSequence and properties from UI

2010-03-11 Thread Орёл Александр
Oh, thanks!

I was not know about uppercase=public rule for msi properties.

I have changed properties' names, used in custom action to uppercase and it
works right.
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Is it possible to install a 32-bit COM server DLL under ProgramFiles64Folder?

2010-03-11 Thread Paul Baker
 just put 32-bit components in the 32-bit file system.

Fortunately in this case that is an option. Are there any
recommendations on exactly where these components should go?

We give the user a choice of install location for our 64-bit
components, which defaults to Program Files\Product Name. Should we
create a parallel Program Files (x86)\Product Name folder for the
32-bit components? If so, what should happen if the user decides to
install the 64-bit components to a different location?

One alternative that I have seen several times is to install the
32-bit components into Program Files (x86)\Common Files. Are there
any drawbacks to going against the stated purpose of CommonFilesFolder
(for components that are shared across applications) in this way?

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Ensuring an MSI can only be installed per-machine

2010-03-11 Thread Paul Baker
 ALLUSERS=2 is a valid setting.

Yes, ALLUSERS=2 is valid in general, but I'm interested to know why my
installer was perfectly happy with it - even when the source file
contained:

Condition Message=...ALLUSERS=1/Condition

 As Thorsten said on his reply, don't worry too much about locking that
 type of thing down.

Thanks to both of you for the advice. I think I'll leave things as is:
default to ALLUSERS=1 and if someone is competent enough to change it,
hopefully they are also competent enough to deal with the problems
that may occur!

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create a big MSI like Microsoft Office

2010-03-11 Thread puyo puy




Thanks Bob but all individual team have to prepare their
installer(s), I just need to consolidates all the installers and create a big 
MSI.  Originally we want to create a big MSI and
calling different MSI but window installer not allow us to do it.  That is why 
I’m thinking of using merge
modules.  



--- On Tue, 9/3/10, Bob Arnson b...@joyofsetup.com wrote:

From: Bob Arnson b...@joyofsetup.com
Subject: Re: [WiX-users] How to create a big MSI like Microsoft Office
To: wix-users@lists.sourceforge.net
Received: Tuesday, 9 March, 2010, 9:21 PM

On 3/9/2010 12:10 AM, puyo puy wrote:
 mean I cannot use bootstrapper.   I’m think of creating msm for each product 
 and
 assign a feature for each msm.

There's no need for merge modules; use a ComponentGroup instead.

-- 
sig://boB
http://joyofsetup.com/


--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using superscript text in a dialog?

2010-03-11 Thread Bob Arnson
On 3/11/2010 9:39 AM, Tabmow wrote:
  I searched around and didn't find this anywhere, so here goes:   I have
 a dialog panel where i want to putCOMPANY NAMEtm with the tm portion as
 a superscript, ie. raised 1/2 way aboveCOMPANY NAME.Is this possible?
 I see discussion on how to use CodePage and create special chars like the
 copyright (C) symbol, but nothing about superscript, or superscripted TM
 at the very least :)
 Any ideas or suggestions?



They're characters. Use Character Map to copy the character into your 
.wxs/.wxl file.

-- 
sig://boB
http://joyofsetup.com/


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Is it possible to install a 32-bit COM server DLL under ProgramFiles64Folder?

2010-03-11 Thread Bob Arnson
On 3/11/2010 6:02 PM, Paul Baker wrote:
 We give the user a choice of install location for our 64-bit
 components, which defaults to Program Files\Product Name. Should we
 create a parallel Program Files (x86)\Product Name folder for the
 32-bit components? If so, what should happen if the user decides to
 install the 64-bit components to a different location?


Personally, I'd vote for nothing. Unless a product is bigger than, 
say, 100MB, even folks like me who partition their drives tightly to 
keep small C: drives won't much care. (Remember that MSI keeps a copy of 
your .msi and Windows 7, it's the whole .msi.)

 One alternative that I have seen several times is to install the
 32-bit components into Program Files (x86)\Common Files. Are there
 any drawbacks to going against the stated purpose of CommonFilesFolder
 (for components that are shared across applications) in this way?


Not that I know of. The most important thing is to keep files in the 
right directory tree according to bitness.

-- 
sig://boB
http://joyofsetup.com/


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to create a big MSI like Microsoft Office

2010-03-11 Thread Bob Arnson
On 3/11/2010 7:04 PM, puyo puy wrote:
 Thanks Bob but all individual team have to prepare their
 installer(s), I just need to consolidates all the installers and create a big 
 MSI.

That's also possible with fragments and ComponentGroupRef.

-- 
sig://boB
http://joyofsetup.com/


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix 2.0 to Wix 3.0

2010-03-11 Thread Bob Arnson
On 3/11/2010 3:10 PM, Anurag Pahwa wrote:
 We've already upgraded the installer sources and built the MSI (using WIX 
 3.0) and wanted to know if we can release a patch (MSP) that targets the MSI 
 (built using WIX 2.0). I know we can decide whether to ship it as a patch or 
 minor upgrade or a major upgrade but to decide we wanted to know whether its 
 even possible to do that using a patch or not and if there are any 
 recommendations?


Recommendation: Don't change your toolset between patches. That applies 
doubly so for major toolset revisions.

-- 
sig://boB
http://joyofsetup.com/


--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Using superscript text in a dialog?

2010-03-11 Thread Tabmow


Bob Arnson-6 wrote:
 
 
 
 They're characters. Use Character Map to copy the character into your 
 .wxs/.wxl file.
 
 -- 
 sig://boB
 http://joyofsetup.com/
 
 

Hi Bob,
  Sorry - i don't mean to be obtuse, but i searched around for 'character
map' and 'wix' and nothing jumps out at me.Is there any chance you could
expand a bit on what you mean, or point me somewhere that I could read?  
Thanks!
-- 
View this message in context: 
http://n2.nabble.com/Using-superscript-text-in-a-dialog-tp4716285p4720033.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to execute a custom action that depends on an assembly being installed to the GAC

2010-03-11 Thread Jacques Eloff
Hi

I have an installer that GACs a number of assemblies. Once this is done, I
need to run a C# custom action (currently, this is an EXE). The problem is
that this CA depends on one of the assemblies that was installed to the GAC
earlier. The custom action modifies a file on disk. I know having managed
code CAs are not ideal, but for now there is no real alternatives.

At the moment, I have the custom actions defined as

CustomAction Id=CA_Install BinaryKey=CA_BIN ExeCommand=-i
Execute=commit Return=check/
CustomAction Id=CA_Remove BinaryKey=CA_BIN ExeCommand=-u
Execute=commit Return=check/

InstallExecuteSequence
  Custom Action=CA_Install Before=InstallFinalizeNOT INSTALLED OR
REINSTALL=ALL/Custom
  Custom Action=CA_Remove Before=InstallFinalizeREMOVE=ALL/Custom
/InstallExecuteSequence

I've also add the WixFailWhenDeferred action to allow for injecting
failures. I found that since it relies on the GAC, having Execute=commit
seems to work well by making sure the assemblies are in the GAC since this
happens after the publishAssembly steps.

What I'm wondering is how should I deal with the following:
- During an install, the custom action runs, but something after it goes
wrong. The file on disk is potentially modified, but now needs to be rolled
back, so I need to schedule the CA_Remove action.
- During an uninstall, the custom action runs, but something goes wrong
again. The file has been reverted, but since the uninstall is rolling back,
the file needs to be updated to leave the machine in an installed state.
- Future versions of the installer may perform additional modifications to
the file on disk. In this case I might be required to schedule additional
actions, or existing actions with different parameters.

Questions
- Which additional conditions should be added to cover rollback scenarios
for install/uninstall?
- Would conditioning my CAs based on properties set by my UpgradeVersion
elements be sufficient to deal with upgrade scenarios?
- RemoveExistingProducts is scheduled after InstallInitialze, so it always
does a full removal of a product before installing the newer version. I
think this might be enough to deal with upgrades and not be concerned about
potential failures.

Thanks,
Jacques
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] How to detect whether a service is running or not

2010-03-11 Thread Sanjay Rao
Hi,

I have written a msi installer, which installs three services. It work 
fine, but it does not stops/removes these services when I uninstall this 
installer from windows server 2008.
Is anybody have any idea ?

Is there any way using WIX, to know that a particular service is running 
or not. In this way I can prompt user to manually stop the services.
Any type of help in this reagard would be greatly appreciated.


Regards,
Sanjay Rao




--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to detect whether a service is running or not

2010-03-11 Thread puyo puy

ServiceControl Id='MyServiceControl' Name='MyServiceExeName'
Start='install' Stop='both' Remove='uninstall' /

mean: start the service on install, remove the service when the product is 
uninstalled, and stop the service both on install and uninstall.

Refer to ServiceControl Element in Wix help file for more details.

--- On Fri, 12/3/10, Sanjay Rao s...@noida.interrasystems.com wrote:

From: Sanjay Rao s...@noida.interrasystems.com
Subject: [WiX-users] How to detect whether a service is running or not
To: wix-users@lists.sourceforge.net
Received: Friday, 12 March, 2010, 1:40 PM

Hi,

I have written a msi installer, which installs three services. It work 
fine, but it does not stops/removes these services when I uninstall this 
installer from windows server 2008.
Is anybody have any idea ?

Is there any way using WIX, to know that a particular service is running 
or not. In this way I can prompt user to manually stop the services.
Any type of help in this reagard would be greatly appreciated.


Regards,
Sanjay Rao




--
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



  
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to detect whether a service is running or not

2010-03-11 Thread Sanjay Rao
This is not working on Windows server 2008, while un-installtion.


On 11-03-2010 22:42, puyo puy wrote:
 ServiceControl Id='MyServiceControl' Name='MyServiceExeName'
 Start='install' Stop='both' Remove='uninstall' /

 mean: start the service on install, remove the service when the product is
 uninstalled, and stop the service both on install and uninstall.

 Refer to ServiceControl Element in Wix help file for more details.

 --- On Fri, 12/3/10, Sanjay Raos...@noida.interrasystems.com  wrote:

 From: Sanjay Raos...@noida.interrasystems.com
 Subject: [WiX-users] How to detect whether a service is running or not
 To: wix-users@lists.sourceforge.net
 Received: Friday, 12 March, 2010, 1:40 PM

 Hi,

 I have written a msi installer, which installs three services. It work
 fine, but it does not stops/removes these services when I uninstall this
 installer from windows server 2008.
 Is anybody have any idea ?

 Is there any way using WIX, to know that a particular service is running
 or not. In this way I can prompt user to manually stop the services.
 Any type of help in this reagard would be greatly appreciated.


 Regards,
 Sanjay Rao




 --
 Download Intel® Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




 --
 Download Intel#174; Parallel Studio Eval
 Try the new software tools for yourself. Speed compiling, find bugs
 proactively, and fine-tune applications for parallel performance.
 See why Intel Parallel Studio got high marks during beta.
 http://p.sf.net/sfu/intel-sw-dev
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users






 No virus found in this incoming message.
 Checked by AVG - www.avg.com
 Version: 9.0.733 / Virus Database: 271.1.1/2739 - Release Date: 03/11/10 
 13:50:00





--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] WIX Error during transformation

2010-03-11 Thread Anu Dev
Hi
 
One of my friend (in cc) is having an issue while transforming the XSLT to a 
WXS file. 
 
XSLT transformation
 
?xml version=1.0 encoding=utf-8?
xsl:stylesheet version=1.0 xmlns:xsl=http://www.w3.org/1999/XSL/Transform;
    xmlns:msxsl=urn:schemas-microsoft-com:xslt
    xmlns=http://schemas.microsoft.com/wix/2006/wi;
    xmlns:wix=http://schemas.microsoft.com/wix/2006/wi;
    
xmlns:util=http://schemas.microsoft.com/wix/2006/wi/WixUtilExtension;
    exclude-result-prefixes=msxsl
. . .. . . . 
  xsl:template match=wix:fi...@source='$(var.Source)\Myfile.exe.config']
    xsl:copy
  xsl:apply-templates select=@* | node()/
  util:XmlFile Id=AppSettingsAddNode  Action=setValue 
ElementPath=/configuration/appSettings Name=add Sequence=1 /
  util:XmlFile Id=AppSettingsKeyAttribute Action=setValue 
ElementPath=/configuration/appSettings/add Name=Enabled Value=true 
Sequence=2 / 
/xsl:copy
  /xsl:template
 
Commands used to generate MSI
 
heat dir ..\Client\  -gg -cg Desktop -sreg -template:fragment -var 
var.ClientSource -t:Transform.xslt -out Files.wxs 
candle -dCurrentProductVersion=%1 -dClientSource=%CD% -out Product.wixobj 
..\..\Tools\Product.wxs -ext WixUtilExtension
candle -dCurrentProductVersion=%1 -dClientSource=%CD% -out Files.wixobj 
..\..\Tools\Files.wxs -ext WixUtilExtension
light -dCurrentProductVersion=%1 -dClientSource=%CD% -out Setup.msi 
Files.wixobj Product.wixobj -ext WixUtilExtension
 
Contents of File.WXS generated after transformation
 
ComponentId=cmpA94A66A14AF4A2E9D38E763724E06483Directory=dir51F549FBB7FB3BCAD05BDE48299F46F8Guid={1AA6E822-FBDC-421F-A48C-B36DD387379A}
FileId=fil1DC33CD5C7EE47A2F7CFBA9F8832A414KeyPath=yesSource=$(var.ClientSource)\myfile.exe.config
util:XmlFileId=AppSettingsAddNodeAction=setValueElementPath=/configuration/appSettingsName=addSequence=1xmlns:util=_http://schemas.microsoft.com/wix/2006/wi/WixUtilExtensionxmlns:wix=_http://schemas.microsoft.com/wix/2006/wi/
util:XmlFileId=AppSettingsKeyAttributeAction=setValueElementPath=/configuration/appSettings/addName=
 
EnabledValue=trueSequence=2xmlns:util=_http://schemas.microsoft.com/wix/2006/wi/WixUtilExtensionxmlns:wix=_http://schemas.microsoft.com/wix/2006/wi//File
/Component
 
 
Exception details

error CNDL0200: T
he File element contains an unhandled extension element 'util:XmlFile'.  Please
ensure that the extension for elements in the 'http://schemas.microsoft.com/wi
x/2006/wi/WixUtilExtension' namespace has been provided.
 
 
We have already added a reference of WIXUtilExtension as highlighted above but 
still getting a reference error. Are we missing anything here. 
 
Thank you in advance
Anweshi


  
--
Download Intel#174; Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users