Re: [WiX-users] Can WiX do this for me?

2010-04-22 Thread Phil Sayers
http://www.tramontana.co.hu/wix/


-Original Message-
From: Ansis Māliņš [mailto:ansis.mal...@gmail.com] 
Sent: Thursday, April 22, 2010 7:44 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Can WiX do this for me?

Bump.

On Wed, Apr 21, 2010 at 10:48 AM, Ansis Māliņš ansis.mal...@gmail.comwrote:

 Before I spend a substantial amount of time learning WiX, I must know if it
 can solve my problem.

 This is what I want: http://i40.tinypic.com/svjw2s.png

 1. If an (older) installation exists already, the wizard calls up some
 custom logic which extracts the existing configuration. The wizard then
 doesn't ask the user any questions and skips straight to Ready to Install.
 2. If the user picks some option X, the wizard asks to browse for a network
 share. Once the user picks something, some custom logic validates the choice
 and asks the user to try again in case of an invalid one.

 Is this doable with WiX? If yes, please point me at the relevant
 documentation or some samples that are similar to my situation. If no,
 please suggest alternatives.

 Thank you.

--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating MSI for non admin user

2010-04-13 Thread Phil Sayers
If you need something per-user and you can live with the limitations about
what icons/shortcuts you can place, you may want to look at ClickOnce.


-Original Message-
From: Sanjay Poria [mailto:sanjay.po...@xanalys.com] 
Sent: Tuesday, April 13, 2010 9:11 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Creating MSI for non admin user

I have been tasked with writing a installer for an .NET application
(consisting of a few DLLs and an exe) such that I can install it for a user
that does not have admin rights. Presumably this means doing a per-user
install of the application. I simply need to install the application files
and create a desktop/start menu shortcuts for the user. In addition, the
application is based on .NET 3.5 so I will need to detect if it already
installed on the machine, and if not, install it (or tell the user how to do
it).
 
Does anyone see any potential problems/issues here?
Are there any guidelines about how to do a per user install (eg, things like
Install app files to location X, create shortcuts in location 'Y' etc.)?
What is the easiest/standard way to deal with the .NET framework
installation issue? Do I need admin rights to even detect whether the
correct version is already installed?
 
I did try googling around for answers to some of these (there is a load of
stuff out there) but I couldn't find anything that answers my basic
questions. I apologise if these questions come up again and again.
 
Thanks
sanjay
 

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


Re: [WiX-users] facing trouble when run the application after installation - EventType : clr20r3

2009-12-08 Thread Phil Sayers
I knows this is old, but if you haven't resolved this...

Making an assumption that the .Net application in question already has top
level error handlers for the Application.ThreadException event.

Does the application work on the problem machine if you run it as an
administrator?  If yes, then go and work out what you are doing in the .Net
code that requires admin and change it :)  For example does the app write to
the event log?  If it does, you need to get it registered as an eventlog
source at install time so it behaves nicely for a regular user.

If that fails, I've been able to resolve a couple of oddball errors p9:
accessdeniedexception and p9: unauthorizedaccessexception by removing
.Net 2.0, 3.0  3.5 from the machine and reinstalling them.

Hth
Phil



-Original Message-
From: Sebastian Brand (Instyler Software) [mailto:wix+us...@instyler.com] 
Sent: Wednesday, September 30, 2009 10:52 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] facing trouble when run the application after
installation - EventType : clr20r3

I think, it's still something bigger than just a WiX issue...

Can you manually install the application on the without using an MSI/ 
WiX and does it work then?


Best regards,
Sebastian Brand

Deployment consultant
E-Mail: sebast...@instyler.com

Instyler Setup - Creating WiX-based MSI installations, elegantly.
http://www.instyler.com

On 30.09.2009, at 15:35, danimian wrote:


 Hi,
 yes .NET Framework 3.5 SP1 is our basic requirement and it is already
 installed on target machine.
 How to deal with this? Any Idea?

 Best Regards and Thanks for quick reply
 Adnan


 Sebastian Brand (Instyler Software) wrote:

 Hello,

 I don't think this relates to the installer or WiX. Is .NET  
 installed on
 the
 target machine?

 Best regards,
 Sebastian Brand

 Deployment consultant
 E-Mail: sebast...@instyler.com

 Instyler Setup - Creating WiX-based MSI installations, elegantly.
 http://www.instyler.com




 -Original Message-
 From: danimian [mailto:miand...@gmail.com]
 Sent: Wednesday, September 30, 2009 14:52
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] facing trouble when run the application after
 installation - EventType : clr20r3


 Hi,
 i am facing trouble after installation when i run the application  
 (.exe)
 on
 other computers. On my Own computer works fine. I am using WIX V3  
 and OS
 is
 Windows XP Professional SP2.  (installation working successfully).

 i am getting the following error:
 EventType : clr20r3 P1 : my-application.exe P2 :  
 0.5.3559.24684
 P3 : 4ac200cd P4 : system P5 : 2.0.0.0 P6 :  
 4889de7a P7 :
 393b
 P8 : 5f P9 : system.invalidoperationexception

 How to fix it to work properly on other computers also? Something  
 need to
 be
 change Installer code?
 Even when i run this application on Windows XP Professional Image  
 on my
 own
 computer, i got this error.

 Best Regards
 Adnan
 -- 
 View this message in context:

http://n2.nabble.com/facing-trouble-when-run-the-application-after-installat
 ion-EventType-clr20r3-tp3742479p3742479.html
 Sent from the wix-users mailing list archive at Nabble.com.



 --
 Come build with us! The BlackBerryreg; Developer Conference in SF,  
 CA
 is the only developer event you need to attend this year. Jumpstart  
 your
 developing skills, take BlackBerry mobile applications to market  
 and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users




--
 Come build with us! The BlackBerryreg; Developer Conference in SF,  
 CA
 is the only developer event you need to attend this year. Jumpstart  
 your
 developing skills, take BlackBerry mobile applications to market  
 and stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register
 now#33;
 http://p.sf.net/sfu/devconf
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users



 -- 
 View this message in context:
http://n2.nabble.com/facing-trouble-when-run-the-application-after-installat
ion-EventType-clr20r3-tp3742479p3742714.html
 Sent from the wix-users mailing list archive at Nabble.com.



--
 Come build with us! The BlackBerryreg; Developer Conference in SF, CA
 is the only developer event you need to attend this year. Jumpstart  
 your
 developing skills, take BlackBerry mobile applications to market and  
 stay
 ahead of the curve. Join us from November 9#45;12, 2009. Register  
 now#33;
 http://p.sf.net/sfu/devconf
 

[WiX-users] nice wix 'how to' IIS website install

2009-08-14 Thread Phil Sayers
Bumped into this today.

http://www.cmcrossroads.com/content/view/13160/120/

looks like a decent starting point if you're looking to build an installer
that needs to work with existing websites.



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] COM+ services fail to start

2009-07-29 Thread Phil Sayers
Have you tried capturing a verbose log file?

To do this... open up a command prompt.
And try this command...


Msiexec /I Path to your MSI /lv* C:\yourlogfile.txt

Then crack open C:\yourlogfile.tx in notepad and read it.

It can be challenging at first to understand it, maybe some other list folk
can give you some keywords to search for in the file.



-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Wednesday, July 29, 2009 1:23 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] COM+ services fail to start

 
Anyone?  Anyone?


-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Wednesday, July 29, 2009 11:56 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] COM+ services fail to start


I've gotten my COM+ VB6 components installing however no matter what
account I use they fail to start. Is there any other code I need besides
the ServiceInstall  and ServiceControl  elements?

Here is my code below:

 Component Id=BAService.exe
Guid={42E219EF-3349-48A8-8D74-57563FBDD101}

File Id=BAService.exe
  Name=BAService.exe
  DiskId=1
  Source=D:\Projects\NFTS\Src\apps\nfts\NFTS V3
Batch Processors\BAService\BAService.exe
  KeyPath=yes /

ServiceInstall Id=BAServiceInstall 
Name=BAServiceEXE 
DisplayName=NFTS BAService 
Type=ownProcess
Start=auto 
Interactive = no 
ErrorControl = normal
Account = LocalSystem
Description=Batch Audit Service for
NFTS/

ServiceControl Id=BAServiceControl
Name=BAServiceEXE
Start=install
Stop=both
Remove=both
Wait=no/

  /Component

Thanks,
Jim

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-Day trial. Simplify your report design, integration and deployment -
and focus on what you do best, core application coding. Discover what's
new with Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus
on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread Phil Sayers
Hi Jim,

I think we both found the same wix snippet to manipulate scheduled tasks.
I had to shuffle it around a little, and this is what I ended up with:


CustomAction 
Id=CreateScheduledTask 
Return=check
Directory=MyDirectory
ExeCommand=quot;[SystemFolder]SCHTASKS.EXEquot; /CREATE /SC DAILY /TN
quot;My Scheduled Task Namequot; /ST 00:00:00 /SD 01/27/2006 /TR
quot;\quot;[#FullPathToMyExe]\quot; type=Foo1 url=[FooURL] user=[FooUSER]
password=[FooPASSWORD]quot; /RU quot;NT AUTHORITY\SYSTEMquot;  /


I needed the escaped quotes around the label/name you want to give to your
scheduled task.

If you notice the ...  quot;\quot;   ...   before the FullPathToMyExe, I
had to double-up on the quotes since I need to pass command line args (type,
url, user, password) to my scheduled task, the slash between the soubled-up
escaped quotes is needed to re-escape it for the schtasks.exe program.

This works for me on WinXp, Vista, server2003  currently untested by me on
server 2008.



-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Monday, July 27, 2009 11:51 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Creating Scheduled Tasks using Wix


I found some code to create scheduled tasks during an install.  I'm
having trouble with one where I have to pass the following xml string on
the command-line. 

XML string is DIRECTIONUP/DIRECTION  Here is the code that creates
the scheduled task:

CustomAction Id=CREATETASK_CC_CIS_FILE_CREATION_UPLOAD 
Return=check 
Directory=ScheduledTasks
ExeCommand=[SystemFolder]SCHTASKS.EXE /CREATE /SC DAILY /TN Run CC
DIRECTIONUP/DIRECTION /ST 00:00:00 /SD 01/27/2006 /TR
D:\apps\nfts\NFTS V3 Batch Processors\FireBatch\FireBatch.exe /RU
[%USERDOMAIN]\[LogonUser] /RP /

Is there a way to pass that as a string and not have votive or wix look
at that string as xml?  

Thanks,
Jim



--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread Phil Sayers
Wouldn't be complete without the custom action to remove the task for
uninstall.

CustomAction 
Id=RemoveScheduledTask 
Return=ignore
Directory= MyDirectory 
ExeCommand=quot;[SystemFolder]SCHTASKS.EXEquot; /DELETE /TN quot; My
Scheduled Task Name quot; /F /


-Original Message-
From: Phil Sayers [mailto:p...@cds-am.net] 
Sent: Monday, July 27, 2009 12:19 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Creating Scheduled Tasks using Wix

Hi Jim,

I think we both found the same wix snippet to manipulate scheduled tasks.
I had to shuffle it around a little, and this is what I ended up with:


CustomAction 
Id=CreateScheduledTask 
Return=check
Directory=MyDirectory
ExeCommand=quot;[SystemFolder]SCHTASKS.EXEquot; /CREATE /SC DAILY /TN
quot;My Scheduled Task Namequot; /ST 00:00:00 /SD 01/27/2006 /TR
quot;\quot;[#FullPathToMyExe]\quot; type=Foo1 url=[FooURL] user=[FooUSER]
password=[FooPASSWORD]quot; /RU quot;NT AUTHORITY\SYSTEMquot;  /


I needed the escaped quotes around the label/name you want to give to your
scheduled task.

If you notice the ...  quot;\quot;   ...   before the FullPathToMyExe, I
had to double-up on the quotes since I need to pass command line args (type,
url, user, password) to my scheduled task, the slash between the soubled-up
escaped quotes is needed to re-escape it for the schtasks.exe program.

This works for me on WinXp, Vista, server2003  currently untested by me on
server 2008.



-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Monday, July 27, 2009 11:51 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Creating Scheduled Tasks using Wix


I found some code to create scheduled tasks during an install.  I'm
having trouble with one where I have to pass the following xml string on
the command-line. 

XML string is DIRECTIONUP/DIRECTION  Here is the code that creates
the scheduled task:

CustomAction Id=CREATETASK_CC_CIS_FILE_CREATION_UPLOAD 
Return=check 
Directory=ScheduledTasks
ExeCommand=[SystemFolder]SCHTASKS.EXE /CREATE /SC DAILY /TN Run CC
DIRECTIONUP/DIRECTION /ST 00:00:00 /SD 01/27/2006 /TR
D:\apps\nfts\NFTS V3 Batch Processors\FireBatch\FireBatch.exe /RU
[%USERDOMAIN]\[LogonUser] /RP /

Is there a way to pass that as a string and not have votive or wix look
at that string as xml?  

Thanks,
Jim



--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Creating Scheduled Tasks using Wix

2009-07-27 Thread Phil Sayers
I have the custom actions scheduled like this:

InstallExecuteSequence
Custom Action=CreateScheduledTask After=InstallFinalizeNOT
Installed/Custom
Custom Action=RemoveScheduledTask
Before=RemoveFilesInstalled/Custom
/InstallExecuteSequence


I struggle with scheduling I don't get it, but this works for me in the
scenarios I have to support.
I may have missed something in the scheduling that the list regulars can
point out/correct.




-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Monday, July 27, 2009 1:09 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Creating Scheduled Tasks using Wix

Hi Phil,

In what part of the code did you put this?  I have some other things I
may need to do during the uninstall. I didn't realize you could have
Custom Action Codes do this.

Thanks very much!  
Jim

 

-Original Message-
From: Phil Sayers [mailto:p...@cds-am.net] 
Sent: Monday, July 27, 2009 12:23 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Creating Scheduled Tasks using Wix

Wouldn't be complete without the custom action to remove the task for
uninstall.

CustomAction
Id=RemoveScheduledTask 
Return=ignore
Directory= MyDirectory 
ExeCommand=quot;[SystemFolder]SCHTASKS.EXEquot; /DELETE /TN quot; My
Scheduled Task Name quot; /F /


-Original Message-
From: Phil Sayers [mailto:p...@cds-am.net] 
Sent: Monday, July 27, 2009 12:19 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Creating Scheduled Tasks using Wix

Hi Jim,

I think we both found the same wix snippet to manipulate scheduled
tasks.
I had to shuffle it around a little, and this is what I ended up with:


CustomAction 
Id=CreateScheduledTask 
Return=check
Directory=MyDirectory
ExeCommand=quot;[SystemFolder]SCHTASKS.EXEquot; /CREATE /SC DAILY /TN
quot;My Scheduled Task Namequot; /ST 00:00:00 /SD 01/27/2006 /TR
quot;\quot;[#FullPathToMyExe]\quot; type=Foo1 url=[FooURL]
user=[FooUSER]
password=[FooPASSWORD]quot; /RU quot;NT AUTHORITY\SYSTEMquot;  /


I needed the escaped quotes around the label/name you want to give to
your
scheduled task.

If you notice the ...  quot;\quot;   ...   before the FullPathToMyExe,
I
had to double-up on the quotes since I need to pass command line args
(type,
url, user, password) to my scheduled task, the slash between the
soubled-up
escaped quotes is needed to re-escape it for the schtasks.exe program.

This works for me on WinXp, Vista, server2003  currently untested by me
on
server 2008.



-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Monday, July 27, 2009 11:51 AM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] Creating Scheduled Tasks using Wix


I found some code to create scheduled tasks during an install.  I'm
having trouble with one where I have to pass the following xml string on
the command-line. 

XML string is DIRECTIONUP/DIRECTION  Here is the code that creates
the scheduled task:

CustomAction Id=CREATETASK_CC_CIS_FILE_CREATION_UPLOAD 
Return=check 
Directory=ScheduledTasks
ExeCommand=[SystemFolder]SCHTASKS.EXE /CREATE /SC DAILY /TN Run CC
DIRECTIONUP/DIRECTION /ST 00:00:00 /SD 01/27/2006 /TR
D:\apps\nfts\NFTS V3 Batch Processors\FireBatch\FireBatch.exe /RU
[%USERDOMAIN]\[LogonUser] /RP /

Is there a way to pass that as a string and not have votive or wix look
at that string as xml?  

Thanks,
Jim




--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users




--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-14 Thread Phil Sayers
If you are using the visual studio plugin Votive...to link to
wixca.wixlib...add a reference to WixUtilExtension, the same way you would
add a reference to any 3rd party assembly.

You can find it located here:
C:\Program Files\Windows Installer XML Toolset 3.{some
version}\bin\WixUtilExtension.dll

And at the top of your wxs file...you add to the Wix... node so it looks
like this:
Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
xmlns:util=http://schemas.microsoft.com/wix/UtilExtension;

Which will give you the intellisense auto-completion as you type in the
vs.net text editor.
If you are not using votive, you're going to need to use the -ext switch
when you call light.exe


-Original Message-
From: Erica Chang (PROJECT) [mailto:eri...@microsoft.com] 
Sent: Monday, July 13, 2009 5:44 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Updating web.config field value depending on if
machine's 64bit or 32bit

Yes, that make sense for me.  But to use xmlFile I have to link to
wixca.wixlib, how do I do that?

Also when I tried to add Platform node to Package Id I got:
The Package element contains an unexpected attribute 'Platform'

Thanks lots.

Erica

-Original Message-
From: Phil Sayers [mailto:p...@cds-am.net]
Sent: Monday, July 13, 2009 1:28 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Updating web.config field value depending on if
machine's 64bit or 32bit

To the best of my knowledge

As long as your installer is tagged correctly as a 32bit installer by
setting the Platform attribute of the Package node  to x86 like this:

Package Id=* InstallerVersion=200 Compressed=yes Languages=1033
Platform=x86 InstallPrivileges=elevated InstallScope=perMachine  /


[PROGRAMFILES] will resolve to Program Files (x86) on 64-bit windows, and
Program Files on 32bit windows This means you can use the value of the
[PROGRAMFILES] property when you write to your web.config file.

I know that xmlfile and xmlconfig has already been not recommended in this
thread, but maybe this wix snippet will show you the light...

util:XmlFile Id=MyMagicId  Action=setValue
ElementPath=//root/node1/node2 File=[MyDirectory]settings.xml
Value=[PROGRAMFILES] /

Using that... (assuming C is where windows is installed)
On 32bit windows [PROGRAMFILES] will equal  C:\Program Files
On 64bit windows [PROGRAMFILES] will equal  C:\Program Files (x86)

This works for me correctly on 32  64bit windows.

You don't need to know the exact string value of the [PROGRAMFILES]
property, you just need to know that it will resolve to the correct real
folder on disk, and always use the property when referencing it.

Does that help?


-Original Message-
From: Erica Chang (PROJECT) [mailto:eri...@microsoft.com]
Sent: Monday, July 13, 2009 3:51 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Updating web.config field value depending on if
machine's 64bit or 32bit

What we are doing is installing sample sites that needs the location of the
install as environment variable in web.config to access a file in the
appsettings section.

However, because our SDK only builds in 32bit, the web.config needs a file
location but I need to detect whether to use %programfiles% or
%programfiles(x86)% in web.config and I was hoping that during install, we
can write some custom action to substitute appropriately.  Will
ProgramFilesFolder work appropriately?

Thanks for all the responses so far.

Thanks,
Erica

-Original Message-
From: Mike Carlson (DEV DIV) [mailto:mica...@microsoft.com]
Sent: Monday, July 13, 2009 12:06 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Updating web.config field value depending on if
machine's 64bit or 32bit

Keep in mind it's better to avoid XmlFile / XmlConfig and just rely on
standard IIS custom action functionality, if possible. I don't know enough
about your particular scenario to know if it's possible in this case, but if
you can throw a [ProgramFilesFolder] into your IIS authoring somewhere
instead of relying on Xml modification of web.config, you'll be better off.

I know in some cases modifying web.config with XmlFile / XmlConfig Vista
will result in slightly unexpected behavior, because the IIS custom action
doesn't flush data to disk in 3.0 (so XmlFile / XmlConfig would be operating
on the XML file before it was modified by the IIS custom action, even though
the IIS custom action was earlier in the sequence). A flush operation was
added to the custom action to fix this scenario in 3.5, but 3.5 is still
early on and it's hard to recommend it at this point in time.

Thanks,
Mike Carlson

-Original Message-
From: Don Benson [mailto:dbenso...@gmail.com]
Sent: Monday, July 13, 2009 11:53 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Updating web.config field value depending on if
machine's 64bit

Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Phil Sayers
XmlFile is your friend.


-Original Message-
From: Erica Chang (PROJECT) [mailto:eri...@microsoft.com] 
Sent: Monday, July 13, 2009 1:59 PM
To: 'wix-users@lists.sourceforge.net'
Subject: [WiX-users] Updating web.config field value depending on if
machine's 64bit or 32bit

Hi,
I have a field in web.config that needs environment variable of
%ProgramFiles% or %ProgramFiles(x86)% depending on if the machine installing
is 64 bit or 32 bit.

Is there a way to substitute the values during install time by detecting
this and setting the appropriate values?

Thanks so much in advance.

Regards,
Erica

--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize

details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Updating web.config field value depending on if machine's 64bit or 32bit

2009-07-13 Thread Phil Sayers
To the best of my knowledge

As long as your installer is tagged correctly as a 32bit installer by
setting the Platform attribute of the Package node  to x86 like this:

Package Id=* InstallerVersion=200 Compressed=yes Languages=1033
Platform=x86 InstallPrivileges=elevated InstallScope=perMachine  /


[PROGRAMFILES] will resolve to Program Files (x86) on 64-bit windows, and
Program Files on 32bit windows This means you can use the value of the
[PROGRAMFILES] property when you write to your web.config file.

I know that xmlfile and xmlconfig has already been not recommended in this
thread, but maybe this wix snippet will show you the light...

util:XmlFile Id=MyMagicId  Action=setValue
ElementPath=//root/node1/node2 File=[MyDirectory]settings.xml
Value=[PROGRAMFILES] /

Using that... (assuming C is where windows is installed)
On 32bit windows [PROGRAMFILES] will equal  C:\Program Files
On 64bit windows [PROGRAMFILES] will equal  C:\Program Files (x86)

This works for me correctly on 32  64bit windows.

You don't need to know the exact string value of the [PROGRAMFILES]
property, you just need to know that it will resolve to the correct real
folder on disk, and always use the property when referencing it.

Does that help?


-Original Message-
From: Erica Chang (PROJECT) [mailto:eri...@microsoft.com] 
Sent: Monday, July 13, 2009 3:51 PM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] Updating web.config field value depending on if
machine's 64bit or 32bit

What we are doing is installing sample sites that needs the location of the
install as environment variable in web.config to access a file in the
appsettings section.

However, because our SDK only builds in 32bit, the web.config needs a file
location but I need to detect whether to use %programfiles% or
%programfiles(x86)% in web.config and I was hoping that during install, we
can write some custom action to substitute appropriately.  Will
ProgramFilesFolder work appropriately?

Thanks for all the responses so far.

Thanks,
Erica

-Original Message-
From: Mike Carlson (DEV DIV) [mailto:mica...@microsoft.com]
Sent: Monday, July 13, 2009 12:06 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Updating web.config field value depending on if
machine's 64bit or 32bit

Keep in mind it's better to avoid XmlFile / XmlConfig and just rely on
standard IIS custom action functionality, if possible. I don't know enough
about your particular scenario to know if it's possible in this case, but if
you can throw a [ProgramFilesFolder] into your IIS authoring somewhere
instead of relying on Xml modification of web.config, you'll be better off.

I know in some cases modifying web.config with XmlFile / XmlConfig Vista
will result in slightly unexpected behavior, because the IIS custom action
doesn't flush data to disk in 3.0 (so XmlFile / XmlConfig would be operating
on the XML file before it was modified by the IIS custom action, even though
the IIS custom action was earlier in the sequence). A flush operation was
added to the custom action to fix this scenario in 3.5, but 3.5 is still
early on and it's hard to recommend it at this point in time.

Thanks,
Mike Carlson

-Original Message-
From: Don Benson [mailto:dbenso...@gmail.com]
Sent: Monday, July 13, 2009 11:53 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Updating web.config field value depending on if
machine's 64bit or 32bit

Windows Installer automatically handles translating the ProgramFilesFolder
property for 32-bit vs. 64-bit platforms. Are you using an XMLFile element
to set the web.config value? Use the [ProgramFilesFolder] property within
the XMLFile element, and you should get what you want.

- Don Benson -
Tribute Inc.

On Mon, Jul 13, 2009 at 1:59 PM, Erica Chang (PROJECT) eri...@microsoft.com
 wrote:

 Hi,
 I have a field in web.config that needs environment variable of
 %ProgramFiles% or %ProgramFiles(x86)% depending on if the machine
installing
 is 64 bit or 32 bit.

 Is there a way to substitute the values during install time by detecting
 this and setting the appropriate values?

 Thanks so much in advance.

 Regards,
 Erica



--
 Enter the BlackBerry Developer Challenge
 This is your chance to win up to $100,000 in prizes! For a limited time,
 vendors submitting new applications to BlackBerry App World(TM) will have
 the opportunity to enter the BlackBerry Developer Challenge. See full
prize
 details at: http://p.sf.net/sfu/Challenge
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Enter the BlackBerry Developer Challenge
This is your chance to win up to $100,000 in prizes! For a 

Re: [WiX-users] Ask user for many details?

2009-06-08 Thread Phil Sayers
Do you really want an installer?  Or are you looking for a wizard ui to
gather data points?


-Original Message-
From: Adam Schirmacher [mailto:adam.schirmac...@electrolux.com] 
Sent: Monday, June 08, 2009 3:44 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Ask user for many details?

Okay, so *how* then can I ask the user for many details?  WiX is my first
experience using windows installer.


***
This e-mail and any attachments may contain information which is
confidential, privileged, proprietary or otherwise protected by law.
The information is solely intended for the named addressee (or a person
responsible for delivering it to the addressee).  If you are not the
intended recipient of this message, you are not authorized to read,
print, retain, copy or disseminate this message or any part of it.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.
***



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Ask user for many details?

2009-06-08 Thread Phil Sayers
This should get you moving in the right direction.

Labels, data entry boxes...etc.

http://www.tramontana.co.hu/wix/lesson2.php#2.5


-Original Message-
From: Adam Schirmacher [mailto:adam.schirmac...@electrolux.com] 
Sent: Monday, June 08, 2009 3:44 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Ask user for many details?

Okay, so *how* then can I ask the user for many details?  WiX is my first
experience using windows installer.


***
This e-mail and any attachments may contain information which is
confidential, privileged, proprietary or otherwise protected by law.
The information is solely intended for the named addressee (or a person
responsible for delivering it to the addressee).  If you are not the
intended recipient of this message, you are not authorized to read,
print, retain, copy or disseminate this message or any part of it.
If you have received this e-mail in error, please notify the sender
immediately by return e-mail and delete it from your computer.
***



--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables unlimited
royalty-free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Edit Control, trap textchanged possible?

2009-05-15 Thread Phil Sayers
Correction to the Control's code snippet. copy/paste/cleanse failure.

 

Control Id=THEURL Type=Edit X=125 Y=88 Width=210 Height=17
Property= MYURL  /

Control Id=THEUSER Type=Edit X=125 Y=108 Width=110 Height=17
Property= MYUSERNAME  /

Control Id=THEPASSWORD Type=Edit X=125 Y=128 Width=110
Height=17 Property= MYPASSWORD /

 

 

From: Phil Sayers [mailto:p...@cds-am.net] 
Sent: Friday, May 15, 2009 8:29 AM
To: 'wix-users@lists.sourceforge.net'
Subject: Edit Control, trap textchanged possible?

 

Hello everyone,

 

I have a custom dialog with 3 Controls of type Edit.

Each one linked to a property..

 

MYURL, MYUSERNAME, MYPASSWORD

 

All 3 properties are defined as secure.

 

Edit boxes defined as :

 

Control Id=THEURL Type=Edit X=125 Y=88 Width=210 Height=17
Property=DMDSUPDATEURL /

Control Id=THEUSER Type=Edit X=125 Y=108 Width=110 Height=17
Property=DMDSUPDATEUSER /

Control Id=THEPASSWORD Type=Edit X=125 Y=128 Width=110
Height=17 Property=DMDSUPDATEPASSWORD/

 

I have the Next button defined as follows:

Control Id=Next Type=PushButton X=236 Y=243 Width=56 Height=17
Default=yes Text=Next Disabled=yes

Condition Action=enable 

![CDATA[MYURL AND MYUSERNAME AND MYPASSWORD]]

/Condition

Condition Action=disable

![CDATA[NOT MYURL OR NOT MYUSERNAME OR NOT MYPASSWORD]]

Condition

/Control

 

So when the installer is running, on this particular dialog, the user
interaction is..

[1]Enter value in first textbox, [2]press tab, [3]Enter value in second
textbox, [4]press tab, [5]Enter value in third textbox.

At this point (before pressing tab to leave the last textbox), the Next
button is still disabled.

 

Is there a way I can Enable the Next button as soon as the first character
is entered into the third textbox?

Instead of having to wait until there is at least 1 character in the 3rd
textbox AND pressing tab to move the focus out of the 3rd textbox.

 

I've looked at ControlEvents but I don't see anything that looks
appropriate.

 

I've looked here:

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

 

and I see this statement at the end of the page:

The property associated with the Edit control is only set when the control
loses focus. Therefore you must tab from the control or select a different
control for the property to be updated.

 

So I'm wondering if there's an indirect way to accomplish this?

 

Thanks

Phil

 

 

--
Crystal Reports - New Free Runtime and 30 Day Trial
Check out the new simplified licensing option that enables 
unlimited royalty-free distribution of the report engine 
for externally facing server and web deployment. 
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Installing fonts

2009-05-13 Thread Phil Sayers
Have you seen the RegisterFonts element?


-Original Message-
From: Kim Gybels [mailto:kim.gyb...@metris.com] 
Sent: Wednesday, May 13, 2009 12:29 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Installing fonts

Hi,

What is the correct way to install fonts using Wix?
I always get the is a Font and must be installed to the
FontsFolder-warnings.

Best regards,
Kim

--

*Kim Gybels
Software Developer
* kim.gyb...@metris.com mailto:kim.gyb...@metris.com
Tel: +32 16 74 01 01
Fax: +32 16 74 01 02



* Metris Europe
* Interleuvenlaan 86
3001 Leuven
Belgium
www.metris.com http://www.metris.com/




This message and any attachment are privileged, confidential and contain
private information. If you are not the addressee named above any
disclosure, reproduction, copying, distribution, or other dissemination or
use of this communication is prohibited. If you have received this
transmission in error, please notify the sender immediately and destroy this
e-mail. Metris does not guarantee that the integrity of this communication
has been maintained or that
this communication is free of viruses, interceptions or interference, and
shall not be liable for the improper or incomplete transmission of the
information contained in this communication nor for any delay in its receipt
or damage to your system. Incoming and outgoing email communications may be
monitored by Metris, as permitted by applicable law and regulations.


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] MSI Factory

2009-05-08 Thread Phil Sayers
Wix, Vb.net, c#..etc... are supported by #develop.

Just because you don't need to use #develop for its support of the .Net
languages does not mean you cannot use it for Wix development.

At the end of the day windows installer helps you deploy, update, repair 
remove resources on a computer.  Wix helps you get there.
There's nothing stopping you using #develop just for Wix.  Your asp
development classic can be in Notepad, and you can still create Wix projects
in #develop.




-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Friday, May 08, 2009 2:41 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MSI Factory


Ok.. I got as far as the screenshot and noticed #Dev is for C#, vb.net, etc,
which we do none of the above, so that's not going to work for us either.
Thanks for the suggestion anyway. 

-Original Message-
From: Madden, William [mailto:william.mad...@sage.com] 
Sent: Friday, May 08, 2009 12:59 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MSI Factory

James, I am not a fan of the output of most of the third party tools we
evaluated for WiX 3.0 development.  However since it sounds like you don't
have Visual Studio you may want to look at SharpDevelop
(http://www.icsharpcode.net/OpenSource/SD/).  Their setup projects are wix
v3.  


Some of our other divisions use that for internal product installations and
have had great success.

I will put in that I agree with others that that chimed in, that just
editing the xml results in a much cleaner maintenance experience.  However,
I hope that this will help you get the job done.

Bill.


-Original Message-
From: Sascha Beaumont [mailto:sascha.beaum...@gmail.com]
Sent: Thursday, May 07, 2009 10:26 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] MSI Factory

I'm using the bootstrapper from MSI Factory, but that's it. In fact I've
uninstalled it after making a copy of the bootstrapper folder :)

Since we already had a license I took at look at using it to speed up
initial development and for doing some custom dialogs, but the generated
code is pretty ugly and so we just went with heat + hand coding. The result
is much, much more maintainable.

I'm using a nant script as my front end to WiX and VS2005 for writing the
code, VS makes things easier with all the auto-complete stuff, but you can
get by with any text editor if you're on a budget.

Sascha

On Thu, May 7, 2009 at 6:03 AM, MacDiarmid, James D
james.macdiar...@eds.com wrote:

 Unfortunately, I don't have the luxury of time to learn it on those 
 terms and we don't have Visual Studio, so I'm kind of stuck between a 
 rock and a hard place.

 -Original Message-
 From: Brian Bakkebo [mailto:bbakk...@gmail.com]
 Sent: Wednesday, May 06, 2009 3:38 PM
 To: General discussion for Windows Installer XML toolset.
 Subject: Re: [WiX-users] MSI Factory

 Hi James, just my two cents here... I had used a trial of MSI 
 Factory(wix
 version) a long time ago when wix was around 2.0, but then I opted to 
 learn wix instead with the help of WixEdit at first.  Bottom line is 
 once I learned Wix I found I dont need msi factory or wixAware, IMHO.
 Perhaps these products have some advantages and ramp up speed is 
 quick, but if you are using msbuild/visual studio then you are better 
 off learning wix.  The payback for me and my company has been reduced 
 release stress... thanks goes of course to the wix team..

 Brian




 2009/5/5 MacDiarmid, James D james.macdiar...@eds.com


 Does anyone use MSI Factory or WixAware to build their installs?  
 I've

 been evaluating WixAware and I like the interface, however it's still 
 very buggy.  I'd like to see if there are any other front ends
 available that support Wix 2.0 and/or Wix 3.0.  I recently found MSI 
 Factory and have started evaluating it.

 Thanks,
 Jim


 -
 -
  The NEW KODAK i700 Series Scanners deliver under ANY 
 circumstances! Your production scanning environment may not be a 
 perfect world - but thanks to Kodak, there's a perfect scanner to get 
 the job done! With the NEW KODAK i700 Series Scanner you'll get full 
 speed at 300 dpi even with all image processing features enabled.
 http://p.sf.net/sfu/kodak-com
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

 --
 --
 --
 The NEW KODAK i700 Series Scanners deliver under ANY circumstances! 
 Your production scanning environment may not be a perfect world - but 
 thanks to Kodak, there's a perfect scanner to get the job done! With 
 the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi 
 even with all image processing features enabled. 
 

Re: [WiX-users] Running WiX utilities from a script

2009-05-07 Thread Phil Sayers
If you have a wixproj file, you can use MSBuild and everything should be
taken care of.

If you don't have VS.Net, then sharpdevelop is free and supports creating
wixproj files.

-Original Message-
From: Reuss, Matthias [mailto:matthias.mr.re...@siemens.com] 
Sent: Thursday, May 07, 2009 9:59 AM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Running WiX utilities from a script

Hi,

As Wix is command-line based, I think it is a good idea to run it from a
script.

But: I cannot find any documentation concerning the return values of candle
and light.

Can anyone help?

Best regards

Matthias


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Setting a Vista Firewall rule

2009-05-05 Thread Phil Sayers
FirewallException element


-Original Message-
From: Chris Lord [mailto:chris.l...@atterotech.com] 
Sent: Tuesday, May 05, 2009 10:44 AM
To: wix-users
Subject: [WiX-users] Setting a Vista Firewall rule

My application uses a .NET object that requires the use of TFTP.
Unfortunately, on a Vista install, the software doesn't work correctly
because the Vista firewall blocks it.  A simple exception for the
application fixes this.  However, rather than get the user to do this
manually, I'd like my installer to do that for me.
 
This must be easy to do but for the life of me I can't see how or find
where this is documented.  So would someone be kind enough to point me
to the relevant documentation or provide assistance of how to do it?
 
Thanks in advance
 
Chris


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK
i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your
production scanning environment may not be a perfect world - but thanks to
Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700
Series Scanner you'll get full speed at 300 dpi even with all image 
processing features enabled. http://p.sf.net/sfu/kodak-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How would I register a COM+ service using Wix(DCOMCNFG)

2009-04-27 Thread Phil Sayers
I use something like this to create a COM+ app...
I think my need for CreateFolder comes from something else in my wxs that I
haven't had time to work out, but I found that I needed it for my situation.

This works for me,using Wix 3.0.4603
At the top of your wxs file... include...

xmlns:complus =http://schemas.microsoft.com/wix/ComPlusExtension;

as part of the Wix..  tag so you have something similar to this:

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  xmlns:complus
=http://schemas.microsoft.com/wix/ComPlusExtension;


You'll need a reference to the ComPlusExtension

Then you can add something like this as a component.

Component Id=x Guid=x Directory=Folder1
CreateFolder/
complus:ComPlusApplication Id=MyComPlusApp
Name=NameYouWantToSeeInComPlusManager ApplicationAccessChecksEnabled=no
Identity=WindowsUserName Password=SuperSecretPassword
complus:ComPlusAssembly Id=MyComPlusAssm Type=native
DllPath=[FileIdOfTheDll]
complus:ComPlusComponent Id=MyComPlusComponent
CLSID=GUIDMojo /
/complus:ComPlusAssembly
/complus:ComPlusApplication
/Component





-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Monday, April 27, 2009 10:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How would I register a COM+ service using
Wix(DCOMCNFG)


Not yet.  Where can I find out more on that? 

-Original Message-
From: Brian Rogers [mailto:rogers.br...@gmail.com] 
Sent: Friday, April 24, 2009 6:36 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How would I register a COM+ service using
Wix(DCOMCNFG)

Hey James,

Have you looked into the WiX COM+ public custom actions at all?

Thanks,

Brian Rogers
Intelligence removes complexity. - Me
http://icumove.spaces.live.com


On Fri, Apr 24, 2009 at 12:41 PM, MacDiarmid, James D 
james.macdiar...@eds.com wrote:


 Right now I have to go through DCOMCNFG to set service parameters.  
 How would do this using Wix?

 Thanks,
 Jim

 --
  Crystal Reports #45; New Free Runtime and 30 Day Trial Check

 out the new simplified licensign option that enables unlimited 
 royalty#45;free distribution of the report engine for externally 
 facing server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the
new simplified licensign option that enables unlimited royalty#45;free
distribution of the report engine for externally facing server and web
deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing 
server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How would I register a COM+ serviceusing Wix(DCOMCNFG)

2009-04-27 Thread Phil Sayers
Whoops...this would be the COM+ folder...not what you are looking for.


-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Monday, April 27, 2009 1:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How would I register a COM+ serviceusing
Wix(DCOMCNFG)


Phil,  Thanks for the info.  I'll give this a try but let me ask.  When
you say COM+ is this going to appear under the COM+ Applications folder
or under the DCOM Config Folder? 

Thx

-Original Message-
From: Phil Sayers [mailto:p...@cds-am.net] 
Sent: Monday, April 27, 2009 11:42 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How would I register a COM+ serviceusing
Wix(DCOMCNFG)

I use something like this to create a COM+ app...
I think my need for CreateFolder comes from something else in my wxs
that I haven't had time to work out, but I found that I needed it for my
situation.

This works for me,using Wix 3.0.4603 At the top of your wxs file...
include...

xmlns:complus =http://schemas.microsoft.com/wix/ComPlusExtension;

as part of the Wix..  tag so you have something similar to this:

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  xmlns:complus
=http://schemas.microsoft.com/wix/ComPlusExtension;


You'll need a reference to the ComPlusExtension

Then you can add something like this as a component.

Component Id=x Guid=x Directory=Folder1
CreateFolder/
complus:ComPlusApplication Id=MyComPlusApp
Name=NameYouWantToSeeInComPlusManager
ApplicationAccessChecksEnabled=no
Identity=WindowsUserName Password=SuperSecretPassword
complus:ComPlusAssembly Id=MyComPlusAssm
Type=native
DllPath=[FileIdOfTheDll]
complus:ComPlusComponent
Id=MyComPlusComponent
CLSID=GUIDMojo /
/complus:ComPlusAssembly
/complus:ComPlusApplication
/Component





-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com]
Sent: Monday, April 27, 2009 10:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How would I register a COM+ service using
Wix(DCOMCNFG)


Not yet.  Where can I find out more on that? 

-Original Message-
From: Brian Rogers [mailto:rogers.br...@gmail.com] 
Sent: Friday, April 24, 2009 6:36 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How would I register a COM+ service using
Wix(DCOMCNFG)

Hey James,

Have you looked into the WiX COM+ public custom actions at all?

Thanks,

Brian Rogers
Intelligence removes complexity. - Me
http://icumove.spaces.live.com


On Fri, Apr 24, 2009 at 12:41 PM, MacDiarmid, James D 
james.macdiar...@eds.com wrote:


 Right now I have to go through DCOMCNFG to set service parameters.  
 How would do this using Wix?

 Thanks,
 Jim

 --
  Crystal Reports #45; New Free Runtime and 30 Day Trial Check

 out the new simplified licensign option that enables unlimited 
 royalty#45;free distribution of the report engine for externally 
 facing server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the
new simplified licensign option that enables unlimited royalty#45;free
distribution of the report engine for externally facing server and web
deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing

server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing

server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

Re: [WiX-users] How would I register a COM+ serviceusing Wix(DCOMCNFG)

2009-04-27 Thread Phil Sayers
This article from Rob M. mentions DCOM.
Maybe there's something in the download link?

(watch for wrap)
http://robmensching.com/blog/posts/2007/3/12/RobMens-Recommendation-Do-not-a
dvertise-COM-information-in-MSI



-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com] 
Sent: Monday, April 27, 2009 1:04 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How would I register a COM+ serviceusing
Wix(DCOMCNFG)


Phil,  Thanks for the info.  I'll give this a try but let me ask.  When
you say COM+ is this going to appear under the COM+ Applications folder
or under the DCOM Config Folder? 

Thx

-Original Message-
From: Phil Sayers [mailto:p...@cds-am.net] 
Sent: Monday, April 27, 2009 11:42 AM
To: 'General discussion for Windows Installer XML toolset.'
Subject: Re: [WiX-users] How would I register a COM+ serviceusing
Wix(DCOMCNFG)

I use something like this to create a COM+ app...
I think my need for CreateFolder comes from something else in my wxs
that I haven't had time to work out, but I found that I needed it for my
situation.

This works for me,using Wix 3.0.4603 At the top of your wxs file...
include...

xmlns:complus =http://schemas.microsoft.com/wix/ComPlusExtension;

as part of the Wix..  tag so you have something similar to this:

Wix xmlns=http://schemas.microsoft.com/wix/2006/wi;
  xmlns:complus
=http://schemas.microsoft.com/wix/ComPlusExtension;


You'll need a reference to the ComPlusExtension

Then you can add something like this as a component.

Component Id=x Guid=x Directory=Folder1
CreateFolder/
complus:ComPlusApplication Id=MyComPlusApp
Name=NameYouWantToSeeInComPlusManager
ApplicationAccessChecksEnabled=no
Identity=WindowsUserName Password=SuperSecretPassword
complus:ComPlusAssembly Id=MyComPlusAssm
Type=native
DllPath=[FileIdOfTheDll]
complus:ComPlusComponent
Id=MyComPlusComponent
CLSID=GUIDMojo /
/complus:ComPlusAssembly
/complus:ComPlusApplication
/Component





-Original Message-
From: MacDiarmid, James D [mailto:james.macdiar...@eds.com]
Sent: Monday, April 27, 2009 10:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How would I register a COM+ service using
Wix(DCOMCNFG)


Not yet.  Where can I find out more on that? 

-Original Message-
From: Brian Rogers [mailto:rogers.br...@gmail.com] 
Sent: Friday, April 24, 2009 6:36 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] How would I register a COM+ service using
Wix(DCOMCNFG)

Hey James,

Have you looked into the WiX COM+ public custom actions at all?

Thanks,

Brian Rogers
Intelligence removes complexity. - Me
http://icumove.spaces.live.com


On Fri, Apr 24, 2009 at 12:41 PM, MacDiarmid, James D 
james.macdiar...@eds.com wrote:


 Right now I have to go through DCOMCNFG to set service parameters.  
 How would do this using Wix?

 Thanks,
 Jim

 --
  Crystal Reports #45; New Free Runtime and 30 Day Trial Check

 out the new simplified licensign option that enables unlimited 
 royalty#45;free distribution of the report engine for externally 
 facing server and web deployment.
 http://p.sf.net/sfu/businessobjects
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
Crystal Reports #45; New Free Runtime and 30 Day Trial Check out the
new simplified licensign option that enables unlimited royalty#45;free
distribution of the report engine for externally facing server and web
deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing

server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users



--
Crystal Reports #45; New Free Runtime and 30 Day Trial
Check out the new simplified licensign option that enables unlimited
royalty#45;free distribution of the report engine for externally facing

server and web deployment.
http://p.sf.net/sfu/businessobjects
___
WiX-users mailing list
WiX-users

Re: [WiX-users] votive causing massive pauses in Visual Studio

2009-03-18 Thread Phil Sayers
I don't have a solution for you, but I know that the smarter people here
will want to know the versions of the tools you are using.
 
[1]wix/votive
[2]visual studio edition  service pack level.
[3]operating system service pack level.

-Original Message-
From: Adam Langley [mailto:alang...@winscribe.com] 
Sent: Tuesday, March 17, 2009 5:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: [WiX-users] votive causing massive pauses in Visual Studio

Hi,

We are using WiX in solutions with 15-20 projects, including 4 WiX projects.
On 2 of our machines, one is XP and one is Vista32, Visual Studio hogs 50%
of the CPU for about 4 minutes after startup, then on the Vista machine the
text editor pauses for about a second on every operation (in _any_ file, C#,
Xml etc) such as keypresses and mouse clicks.
Unloading the WiX projects fixes the key-press pause, and uninstalling WiX
(Votive) fixes everything else...

Has anyone else experienced this problem?

Adam Langley
Senior Developer
Tel: +64 9 486 9010
www.winscribe.com
 
 




--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Apps built with the Adobe(R) Flex(R) framework and Flex Builder(TM) are
powering Web 2.0 with engaging, cross-platform capabilities. Quickly and
easily build your RIAs with Flex Builder, the Eclipse(TM)based development
software that enables intelligent coding and step-through debugging.
Download the free 60 day trial. http://p.sf.net/sfu/www-adobe-com
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Advice on Click Through technology wanted

2009-03-05 Thread Phil Sayers
I'm not in a position to help, but clarification about whether the original
poster meant to say 
Click Once 
Or
Click Through

would be helpful before this discussion goes a lot further.


-Original Message-
From: Neil Sleightholm [mailto:n...@x2systems.com] 
Sent: Thursday, March 05, 2009 1:17 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Advice on Click Through technology wanted

I have a similar application to yours although we don't deliver across
the web but internally from a server installed on the client site. There
is some information on using clickonce with VB6 here
http://msdn.microsoft.com/en-us/library/aa697430(VS.80).aspx, I got
something to work but it wasn't at all easy to get it work reliably in
all scenarios. This was mainly due to COM registration, using reg-free
COM helped. For me the biggest issue was signing of the install, it
would have meant re-signing the application on every client site.

My experience of ClickOnce is that it is really not ready for the big
time.

There is some good stuff about reg-free COM here:
http://blogs.gotdotnet.com/bethmassi/archive/2007/06/27/deploying-intero
p-usercontrols.aspx. 

I am still looking for a good solution to this problem. My current
favourite is to use a standard MSI and then download/install it in a
similar way to Windows Updates. I think I will have to write the code to
do this although the Background Intelligent Transfer Service (BITS)
may help.

I hope this helps.

Neil

-Original Message-
From: Rob Series [mailto:r...@sensorysoftware.com] 
Sent: 05 March 2009 16:34
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] Advice on Click Through technology wanted

Hi Guys,

I wonder if you could give some advice on installer technology. We are a
small company with a number of products based on VB6. Our flagship
product
comprises about 20 (VB6)  ActiveX dlls and a couple of ActiveX .exe
servers
and about 500 resource files. A typical install is between 200 and
500Mb. In
addition to the installer we have a web based update utility that allows
us
to distribute patches via the internet. We typically release one new
patch a
week. We localise the product and installer for about 15 countries
including
Greek, hebrew, Suomi (Finnish). We are considering Chinese, Japanese and
Bengali. We need to support Xp and Vista ( and preferably Win98)

Our current installer and updater are home grown, based on the original
VB6
setup engine. Increasingly our product is being taken up by schools who
find
our non-standard installer difficult to manage. We are therfore looking
for
alternative installers/updater such as Click Once/Click Through or MSI
based.

My questions are:
1) Is Click Through stable enough to be considered for commercial use?
2) Is it suitable for VB6 applications (as opposed to .net apps)?
3) If I cant use Click Through, is it possible to use Wix/MSI
technologies
and web based technology to deliver patches. Note that some of our files
are
quite large and it is important that we don't download files that are
not
required.

Many thanks

Rob Series
Sensory Software International

--
Open Source Business Conference (OSBC), March 24-25, 2009, San
Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the
Enterprise
-Strategies to boost innovation and cut costs with open source
participation
-Receive a $600 discount off the registration fee with the source code:
SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
Open Source Business Conference (OSBC), March 24-25, 2009, San Francisco, CA
-OSBC tackles the biggest issue in open source: Open Sourcing the Enterprise
-Strategies to boost innovation and cut costs with open source participation
-Receive a $600 discount off the registration fee with the source code: SFAD
http://p.sf.net/sfu/XcvMzF8H
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] excluding directories from heat

2008-12-22 Thread Phil Sayers
you could use the subversion export command to create a copy of just
yyour files, and none of the hidden files that svn uses for
housekeeping.


-Original Message-
From: Rob Mensching [mailto:rob.mensch...@microsoft.com]
Sent: Sunday, November 23, 2008 8:35 PM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] excluding directories from heat


I don't think that is supported today.

-Original Message-
From: Sean Farrow [mailto:sean.far...@seanfarrow.co.uk]
Sent: Sunday, November 23, 2008 17:02
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] excluding directories from heat

Hi;
I am currently in the process of creating an installation. I have a
series of directories including directories created by subversion. how
can I exclude these directories (.svn) from he output of heat?
Cheers
Sean.
-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Wix#

2008-12-18 Thread Phil Sayers
+1 for Phil's book.
It significantly helped me start to think about deployment
scenarios/problems in terms of windows installer concepts.  I blame Phil for
my conversion from VS setup projects to wix.

(the other Phil)

-Original Message-
From: Jody Belka [mailto:lists-...@pimb.org]
Sent: Thursday, December 18, 2008 6:11 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Wix#


Hmm. Need to start playing about with Wix at the Wix level first anyway I
think :)

On a slightly different matter, is the Windows Installer book by Phil
Wilson the best one to get to help get a good understanding of the
underlying technology?



On Wed, Dec 17, 2008 at 01:02:45PM -0800, Rob Mensching wrote:
 It's kinda' neat to see other languages built on top of the WiX language
(if WiX is a 4GL, does that make them 5GL)?  ClickThrough is one example of
a higher language in the WiX toolset but it still uses XML... which seems to
be a negative for some people.  I don't care for the syntax presented in
WixSharp and would much take the VS Intellisense for XML any day.  But I
obviously don't have issues with angle brackets. wink/

 The thing to ensure is that the higher level languages are still
generating correct code.  I was a little concerned by the articles about
WixSharp because the example WiX code was not very good.  If the higher
level language generates that kind of WiX code then your trading off new
syntax for subpar output.  Not a trade I would make... but I obviously don't
have issues with angle brackets.  grin/


 -Original Message-
 From: Jody Belka [mailto:lists-...@pimb.org]
 Sent: Wednesday, December 17, 2008 08:24
 To: wix-users@lists.sourceforge.net
 Subject: [WiX-users] Wix#

 Haven't played about with it myself at all, but was wondering if anyone
 else had seen this recent project? Looks intriguing.

 http://www.codeproject.com/KB/install/WixSharpArticle.aspx

 http://www.csscript.net/WixSharp.html



 J
 --
 Jody Belka
 knew (at) pimb (dot) org

 --

 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


 --

 SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas,
Nevada.
 The future of the web can't happen without you.  Join us at MIX09 to help
 pave the way to the Next Web now. Learn more and register at

http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] file placement struggles.

2008-12-05 Thread Phil Sayers
hello,

I'm repackaging a 3rd party product that we have purchased and integrating
some of our own additional files so we can get our deployment down to a
1-click process and not have to rely on people not making mistakes.

The files that we provide are webservices and get dropped into the
WebServicesDir  WebServicesBin folders.

The 3rd party items need to be dropped into 2 location.
[1]Windows\System32 (or platform specific variant)...works fine with
SystemFolder.
[2]WindowsVolume\Foldername_with_8_character_limit

I'm stuggling with [2].  I can't find a way to specify what is essentially
C:\MyFolder  (for the default case)


This is what I have so far...

(company  folder names faked to protect the guilty)

Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder
Directory Id=MyCompanyNameDir Name=MyCompanyName
  Directory Id=INSTALLDIR Name=FolderName1
Directory Id=WebServicesDir Name=WebServices
Directory Id=WebserviceBin Name=bin /
  /Directory
/Directory
  /Directory
/Directory
Directory Id=SystemFolder /
Directory Id=SomeDirectoryId Name=MyFolder/
/Directory

When I test I run the MSI from my E: drive (mutliple disks here) the
SomeDirectoryId resolves to E:\MyFolder.
How can I make this resolve to WindowsInstallDrive:\MyFolder

Thanks
Phil



--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] file placement struggles.

2008-12-05 Thread Phil Sayers

Posting solution for the archives.

It is a Type 35 Custom Action.

After beating my head against the wall a few times...I was able to get this
working with the folloing snippet in my wxs.

CustomAction Id=SetMyFolder Directory=SomeDirectoryId
Value=[WindowsVolume]\MyFolder/
InstallExecuteSequence
Custom Action =SetMyFolder After=CostFinalizeNOT 
Installed/Custom
/InstallExecuteSequence

Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder
Directory Id=MyCompanyNameDir Name=MyCompanyName
  Directory Id=INSTALLDIR Name=FolderName1
Directory Id=WebServicesDir Name=WebServices
Directory Id=WebserviceBin Name=bin /
  /Directory
/Directory
  /Directory
/Directory
Directory Id=SystemFolder /
Directory Id=SomeDirectoryId/
/Directory




-Original Message-
From: Phil Sayers [mailto:[EMAIL PROTECTED]
Sent: Friday, December 05, 2008 3:08 PM
To: wix-users@lists.sourceforge.net
Subject: [WiX-users] file placement struggles.


hello,

I'm repackaging a 3rd party product that we have purchased and integrating
some of our own additional files so we can get our deployment down to a
1-click process and not have to rely on people not making mistakes.

The files that we provide are webservices and get dropped into the
WebServicesDir  WebServicesBin folders.

The 3rd party items need to be dropped into 2 location.
[1]Windows\System32 (or platform specific variant)...works fine with
SystemFolder.
[2]WindowsVolume\Foldername_with_8_character_limit

I'm stuggling with [2].  I can't find a way to specify what is essentially
C:\MyFolder  (for the default case)


This is what I have so far...

(company  folder names faked to protect the guilty)

Directory Id=TARGETDIR Name=SourceDir
  Directory Id=ProgramFilesFolder
Directory Id=MyCompanyNameDir Name=MyCompanyName
  Directory Id=INSTALLDIR Name=FolderName1
Directory Id=WebServicesDir Name=WebServices
Directory Id=WebserviceBin Name=bin /
  /Directory
/Directory
  /Directory
/Directory
Directory Id=SystemFolder /
Directory Id=SomeDirectoryId Name=MyFolder/
/Directory

When I test I run the MSI from my E: drive (mutliple disks here) the
SomeDirectoryId resolves to E:\MyFolder.
How can I make this resolve to WindowsInstallDrive:\MyFolder

Thanks
Phil




--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


--
SF.Net email is Sponsored by MIX09, March 18-20, 2009 in Las Vegas, Nevada.
The future of the web can't happen without you.  Join us at MIX09 to help
pave the way to the Next Web now. Learn more and register at
http://ad.doubleclick.net/clk;208669438;13503038;i?http://2009.visitmix.com/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Logging

2008-10-06 Thread Phil Sayers
anyone else received this message almost 10 times today?

-Original Message-
From: Peter Vestergaard [mailto:[EMAIL PROTECTED]
Sent: Monday, October 06, 2008 6:47 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Logging


I am using the command line

On Mon, Oct 6, 2008 at 12:38 PM, Simon Dahlbacka
[EMAIL PROTECTED]wrote:

 Or if you use votive (or othervise msbuild compatible project), you can
use
 the normal msbuild logging mechanism

 http://msdn.microsoft.com/en-us/library/ms171470(VS.80).aspx

 /Simon

 On Mon, Oct 6, 2008 at 1:15 PM, Peter Vestergaard [EMAIL PROTECTED]
 wrote:

  Thanks for your reply.
  I can't get  this to work with light. Could you give me an examble of
the
  correct syntax?
  -Peter
 
  On Mon, Oct 6, 2008 at 10:45 AM, Rob Hamflett [EMAIL PROTECTED] wrote:
 
   There's the traditional method of redirecting the output:
   candle args 1stdout.txt 2stderr.txt
  
   Rob
  
Peter Vestergaard wrote:
Hi.
Is there any way to log candle and light build errors and warnings
to
 a
   text
file?
Best regards
Peter
   

 -
This SF.Net email is sponsored by the Moblin Your Move Developer's
   challenge
Build the coolest Linux based applications with Moblin SDK  win
 great
   prizes
Grand prize is a trip for two to an Open Source event anywhere in
the
   world
http://moblin-contest.org/redirect.php?banner_id=100url=/
  
  
  
 -
   This SF.Net email is sponsored by the Moblin Your Move Developer's
   challenge
   Build the coolest Linux based applications with Moblin SDK  win great
   prizes
   Grand prize is a trip for two to an Open Source event anywhere in the
  world
   http://moblin-contest.org/redirect.php?banner_id=100url=/
   ___
   WiX-users mailing list
   WiX-users@lists.sourceforge.net
   https://lists.sourceforge.net/lists/listinfo/wix-users
  

 -
  This SF.Net email is sponsored by the Moblin Your Move Developer's
  challenge
  Build the coolest Linux based applications with Moblin SDK  win great
  prizes
  Grand prize is a trip for two to an Open Source event anywhere in the
 world
  http://moblin-contest.org/redirect.php?banner_id=100url=/
  ___
  WiX-users mailing list
  WiX-users@lists.sourceforge.net
  https://lists.sourceforge.net/lists/listinfo/wix-users
 
 -
 This SF.Net email is sponsored by the Moblin Your Move Developer's
 challenge
 Build the coolest Linux based applications with Moblin SDK  win great
 prizes
 Grand prize is a trip for two to an Open Source event anywhere in the
world
 http://moblin-contest.org/redirect.php?banner_id=100url=/
 ___
 WiX-users mailing list
 WiX-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/wix-users

-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Remote Installtion

2008-09-18 Thread Phil Sayers
This may get you going in the right direction.

http://www.microsoft.com/technet/scriptcenter/scripts/apps/user/usapvb02.msp
x?mfr=true

to install on a remote machine it's all about how you execute the msi file,
there's not much you can do once the msi has started to be processed by the
installer service.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Bob Arnson
Sent: Thursday, September 18, 2008 12:45 AM
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] Remote Installtion


Sandeep Gautam (HCL Technologies Ltd) wrote:
 Can we do install a MSI remotely. Suppose I am running my MSi from Machine
A but this should be install on  Machine B( all binaries etc in Machine B
programfile folder).


MSI installs on the local machine. You can use other tools like PsExec
to start installs on another machine.

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



-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great
prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK  win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100url=/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Generate MSI during install

2008-05-16 Thread Phil Sayers
Thanks for the info.

I'm sure this can be done.  I'm trying to work out the best way to move
forwards and be able to produce a proof-of-concept that shows it.

If the wix toolset will get me 80% (or more) of the way there then I can
most likely hammer away at the remaining small issues until I get them
worked out.


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Gendelman,
Yuri
Sent: Friday, May 16, 2008 10:38 AM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Generate MSI during install


Hello Phil,

You can create 2 separate WiX projects, for a server, and for a client.
Than add a Custom Action to the first one (server), which will launch a
batch file for compiling and linking the second one (client).

MBR,
Yuri


-Original Message-
Date: Fri, 16 May 2008 10:05:47 -0400
From: Phil Sayers [EMAIL PROTECTED]
Subject: [WiX-users] Generate MSI during install
To: wix-users@lists.sourceforge.net
Message-ID: [EMAIL PROTECTED]
Content-Type: text/plain; charset=iso-8859-1

I'm doing some planning for moving from our existing xcopy based
deployment
to msi (hopefully with wix) based installs.
Our application is written in .net framework 2.0
We have a client  server that need to be deployed with separate MSI's.

The server side of the application consists of a bunch of dll files and
an
IIS hosted remoting server.

I'd love to be able to touch or generate the client MSI as part of
the
server installation, based on information entered by a network admin as
part
of the server MSI install.

This way the client side of the application would already have server
name,
ip address, remoting endpoints written into it's config file and the end
user woudln't need to enter that info as part of the client install.

I'm new to Wix, but I have been lurking on this list for the last 6
months
or so.
Is this something i can do with Wix?  Has anyone done something like
this?

Thanks
Phil


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Microsoft 
Defy all challenges. Microsoft(R) Visual Studio 2008. 
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Build behavior for WiX projects

2008-04-17 Thread Phil Sayers
At the moment in visual studio a Setup Project only builds in Release
configuration by default. (at least thats how it works on my system here)

I can see having wix projects match this beahavior to keep consistency with
the installer building project types, but that is only one scenario for
the usage of wix (within visual stuido).  Does not cover manual command line
builds, unattended build servers etc.

  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Candy Chiang
  Sent: Wednesday, April 16, 2008 8:11 PM
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] Build behavior for WiX projects


  In the recent builds, we have changed the build behavior of WiX project so
that it only builds by default if it is the only project in the solution. If
you have more than one project in a solution, the WiX project will not build
automatically. This allows you to skip building the WiX project with no
overhead when you make tweaks in your application code until you have all
your bits ready to be packaged.



  This implies that when you build the solution using MSBuild on the command
line, the WiX project in the solution (assuming there is more than one
project) will not be built. If you want the WiX project to build with the
solution, you will need to change the build configuration via the
Configuration Manager console in Visual Studio. Alternatively, you may
choose to build the .wixproj separately through another process.



  We want to get a feel from the community how this new build behavior is
working out for people. A few things to consider:

  . How do you like this new build behavior? Is it intuitive and
easier to use?

  . Consider other options and how those might be better:

  o   Make WiX project to always build by default in the solution.

  o   Make WiX project to only build by default in Release configuration but
not in Debug configuration.

  o   Others suggestions?



  Please let us know your thoughts.


-
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Redistributing WiX in order to build custom installersfor customers

2008-02-19 Thread Phil Sayers
I've had the exact same idea slowly fermenting in my head.  Interested in
how you make this work and any hiccups along the way.

We still need to do some work with our product before we can make time to
spend on the install story, but med-long term this is definitely of interest
here.
  -Original Message-
  From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Andrew Sinclair
  Sent: Tuesday, February 19, 2008 12:45 PM
  To: wix-users@lists.sourceforge.net
  Subject: [WiX-users] Redistributing WiX in order to build custom
installersfor customers


  Hi,



  First off I'd like to say what a great tool WiX is and thanks to everybody
who has helped in its development.



  I've been looking for articles or documentation on redistributing WiX as
part of the msi it produces. I don't see why this shouldn't be a problem
either technically or in terms of the licensing side of things, but wanted
to double check this and ask if anybody had experience of this or knew of
any gotchas.



  The scenario I'm thinking about is having a customer install our
(server-based) product and then being able to build their own end-user,
client installer, containing customised settings, logos etc. We'd ship the
base .wxs files as part of the server install, but customers could then use
config tools to either modify settings files, overwrite images etc.



  If this is a standard sort of thing to do then are there any standard
Fragments etc for the WiX components themselves (candle, light etc) ?



  Thanks in advance,



  Andy
-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Detecting Which version of SQL is installed

2007-11-26 Thread Phil Sayers
is this a .net 2.0 product?

If so, can't you package the .mdf and .ldf sql database  log files with
your app and use the new connection string options on the
System.Data.SqlClient to point to the database files and use those as your
sql database instead of needing an installed instance?

lower performance...but this is a demo version right?


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Frank Eden
Sent: Saturday, November 24, 2007 10:05 PM
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Detecting Which version of SQL is installed



Thanks for the prompt replies, much appreciated.
I guess I should have mentioned why I wanted to install a database and why I
wanted to avoid user interaction if possible, and that is because i want to
install a 'demo' which just works out of the box.
The more questions I ask, the more intimidating is that first impression.
Fairly obviously I have a dependency on SQLserver for this demo, and thats
bad enough, since it means I will probably have to have a SETUP.exe
bootstrapper that installs SQLserverExpress if it or SQlserver isnt
installed already.

As for installing on a different machine somewhere, I will give that some
thought, that would mean the customer doesnt need to have either installed
on theiir machine, so there is some value in that.

As Malcolm Fraser (a former Australian Prime Minister) once said  Life isnt
meant to be easy.



--
View this message in context:
http://www.nabble.com/Detecting-Which-version-of-SQL-is-installed-tf4867935.
html#a13932244
Sent from the wix-users mailing list archive at Nabble.com.


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


-
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse012070mrt/direct/01/
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users