Re: [WiX-users] Installing different files depending on ComputerName (Wix 2)

2008-07-08 Thread Bob Arnson
Nicholas Piper wrote:
> Could all of these three components all install files into the same
> place on the target system (and then it's up to me to make sure only
> one gets fired off at once?)
>
> Or should I install them to different places, an then have a commit CA
> move them into the correct place?
>   

The former. Manipulating the file system via custom action is risky; it 
would also mean you couldn't patch the file.

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



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Mixed language (localization)

2008-07-08 Thread Bob Arnson
Olivier Guezenec wrote:
> The problem with the French version is that few messages are still in
> English, such as:
>
> "You must restart your system for this configuration changes made to."
>
> "Removing backup files"
>
> I use a recent Wix V3, with the switch -cultures:fr-fr
>   

The progress message strings aren't included by default; try adding



as documented in WiX.chm.

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



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixUI_nl-nl.wxl missing entries for latest build (4227.0)

2008-07-08 Thread Bob Arnson
Danny Heijl wrote:
> In patch format:
>   

Please attach your patch to bug 
http://sourceforge.net/tracker/index.php?func=detail&aid=1958613&group_id=105970&atid=642714
 
so it doesn't get lost.

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



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] How to use Wix FilesInUse dialog?

2008-07-08 Thread Bob Arnson
Tony Juricic wrote:
> I picked this dialog from some Wix UI scheme and it is now compiled into
> my project. However, I have no idea how to use it or how to get the
> system to invoke it !?
>   

You don't have to do anything; MSI will automatically use any dialog in 
your MSI named FilesInUse (or, for restart manager on Vista/2008, 
MsiRmFilesInUse).

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



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Features

2008-07-08 Thread Amjad, Farhad

Hi.

I am trying to create a installer for .net web application. I have
different configuration files for different environments (DEV, ST, UAT)
but all with the same filename. Features would have the environment were
user would install (DEV, ST, UAT).

I created components for each environment and referenced the file per
environment. When I build error says Web.Con is installed in '
[TARGETDIR]\Inetpub' by two different components on an SFN system

The intention is for the user to select a feature for specific
environment thus only 1 config file would be copied.

Thanks,

Farhad A. Amjad 
Fujitsu Applications Services
on behalf of BITS - Victoria Police
Phone 9628 8656



EMAIL DISCLAIMER

This email and any attachments are confidential. They may also be subject to 
copyright.

If you are not an intended recipient of this email please immediately contact 
us by replying
to this email and then delete this email. 

You must not read, use, copy, retain, forward or disclose this email or any 
attachment.

We do not accept any liability arising from or in connection with unauthorised 
use or disclosure 
of the information contained in this email or any attachment.

We make reasonable efforts to protect against computer viruses but we do not 
accept liability
for any liability, loss or damage caused by any computer virus contained in 
this email.

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Billboard timing

2008-07-08 Thread Tony Juricic
I have 10 bitmaps that I would like to cycle among FileInstall and my
custom action that follows FileInstall.

My execute sequence looks like this:

  
  
  
  

Bitmaps are split between these two actions like in this example:

  

  


  
  

 ... 3 more bitmaps
  


  
  ... similar to above with 5 more bitmaps
  

Ticks are reserved in immediate custom action using:

::WcaProgressMessage(totalticks, TRUE); 

and ticks are consumed in deferred action using many statements
scattered through the code, like this

::WcaProgressMessage(pieceoftotal, FALSE);  // tick the progress
bar

All in all, I am doing what available documentation says I should be
doing:

The problems:
1) (apparently) depending on how many total ticks were reserved for
custom action, standard action InstallFiles displays 2,3 or all 5
billboard bitmaps. How to monitor, debug, understand, change,  ... this
behavior?
2) billboard bitmaps never change during the execution of deferred
custom action. Again, how to understand and debug this behavior?

Thanks for any input!

As an interesting aside, microsoft.public.platformsdk.msi group shows
similar billboard-related questions posted in 2001, then 2003 and the
last one in 2005. I cannot see any answers that sheds light on this
billboard mystery so now, after 3 years, it is probably a good time to
ask the question about the billboard programming again. 




  

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Patch install: MoveFiles and component action states

2008-07-08 Thread Ilya Slobodin
Hello,

We have a database file


  
  
  


The database file can be modified by user, on reinstall the modified 
file is renamed to db.bak and original file is copied on it's place. 
Everything worked well until I made the patch file that modifies 
another file, e.g. somecode.dll.

During the patch install, MoveFiles action is executed, db.dat is 
renamed to db.bak. But db.dat is not reinstalled as it was with 
reinstall. And our patched program ends up without database.

...
MSI (s) (64:F8) [20:11:50:685]: Component: db.dat; Installed: Local; 
Request: Local;   Action: Local
...
MSI (s) (64:F8) [20:11:55:342]: Executing op: 
FileCopy(SourceName=somecode.dll,SourceCabKey=somecode.dll,DestName=somecode.dll,Attributes=20480,FileSize=2105344,PerTick=32768,,VerifyMedia=1,CheckCRC=0,Version=1.0.0.1037,Language=1033,InstallMode=58982400,,,)
...
No FileCopy for db.dat
...

Currently I temporarily solved the problem by modyfing with the patch 
MoveFiles condition to "NOT PATCH". Is there a better solution?

Best regards,
Ilya Slobodin 



-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall Advise

2008-07-08 Thread Neil Sleightholm
Thanks, it felt right to do the service install as part of the same
component.

Neil

-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of
Christopher Painter
Sent: 08 July 2008 14:13
To: General discussion for Windows Installer XML toolset.
Subject: Re: [WiX-users] ServiceInstall Advise

I might not be thinking of something, but generally I make them the same
component.   The reason it can be in a different component is because
it's possible to be stopping/starting/stopping a service that you didn't
install.
But since you are creating it, I'm not thinking of a reason to seperate
them.

One side note: Remember that the service install actions occur when the
component is being installed/uninstalled not the product or feature is
being installed or uninstall. 

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves
attention? E-Mail Me


--- On Tue, 7/8/08, Neil Sleightholm <[EMAIL PROTECTED]> wrote:

> From: Neil Sleightholm <[EMAIL PROTECTED]>
> Subject: [WiX-users] ServiceInstall Advise
> To: "General discussion for Windows Installer XML toolset."

> Date: Tuesday, July 8, 2008, 5:49 AM
> I am installing a service by using a fragment like this:
> 
>  
> 
> 
> 
> 
> 
>  />
> 
>  />
> 
>   
> 
>  
> 
> Is this a good or bad structure, should the ServiceInstall
> and
> ServiceControl be in their own components, e.g.:
> 
>  
> 
> 
> 
>   
> 
>  
> 
> 
> 
>  />
> 
>  />
> 
>   
> 
>  
> 
> Are there any advantages or disadvantages to the structure
> I have used?
> 
>  
> 
> Thanks
> 
>  
> 
> Neil
> 
>  
> 
> Neil Sleightholm
> X2 Systems Limited
> [EMAIL PROTECTED]  
> 
>  
> 
>

-
> Sponsored by: SourceForge.net Community Choice Awards: VOTE
> NOW!
> Studies have shown that voting for your favorite open
> source project,
> along with a healthy diet, reduces your potential for
> chronic lameness
> and boredom. Vote Now at
> http://www.sourceforge.net/community/cca08
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


  


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Mixed language (localization)

2008-07-08 Thread Martin MacPherson
Hey Olivier,

I've not done it myself but there was a post last week  (3 July 2008
10:52) discussing
the overriding of text using a localisation file..

There were a couple of links to the variables that can be overriden:

http://wix.cvs.sourceforge.net/*checkout*/wix/wix/src/ext/UIExtension/wixlib/ErrorProgressText.wxs

http://wix.cvs.sourceforge.net/*checkout*/wix/wix/src/ext/UIExtension/wixlib/WixUI_en-us.wxl

I'm sure there is probably some info in the Wix chm about it.

Cheers,
Martin

2008/7/8 Olivier Guezenec <[EMAIL PROTECTED]>:

> I have 2 versions of my package, one in English and the other in French.
>
> The problem with the French version is that few messages are still in
> English, such as:
>
> "You must restart your system for this configuration changes made to."
>
> "Removing backup files"
>
> I use a recent Wix V3, with the switch -cultures:fr-fr
>
> Any thought?
>
>
>
> Thanks for your help,
>
> Olivier
>
>
>
> -
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
>
-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] Mixed language (localization)

2008-07-08 Thread Olivier Guezenec
I have 2 versions of my package, one in English and the other in French.

The problem with the French version is that few messages are still in
English, such as:

"You must restart your system for this configuration changes made to."

"Removing backup files"

I use a recent Wix V3, with the switch -cultures:fr-fr

Any thought?

 

Thanks for your help,

Olivier

 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] ServiceInstall Advise

2008-07-08 Thread Christopher Painter
I might not be thinking of something, but generally I make them the same 
component.   The reason it can be in a different component is because it's 
possible to be stopping/starting/stopping a service that you didn't install.
But since you are creating it, I'm not thinking of a reason to seperate them.

One side note: Remember that the service install actions occur when the 
component is being installed/uninstalled not the product or feature is being 
installed or uninstall. 

Christopher Painter, Author of Deployment Engineering Blog
Have a hot tip, know a secret or read a really good thread that deserves 
attention? E-Mail Me


--- On Tue, 7/8/08, Neil Sleightholm <[EMAIL PROTECTED]> wrote:

> From: Neil Sleightholm <[EMAIL PROTECTED]>
> Subject: [WiX-users] ServiceInstall Advise
> To: "General discussion for Windows Installer XML toolset." 
> 
> Date: Tuesday, July 8, 2008, 5:49 AM
> I am installing a service by using a fragment like this:
> 
>  
> 
> 
> 
> 
> 
>  />
> 
>  />
> 
>   
> 
>  
> 
> Is this a good or bad structure, should the ServiceInstall
> and
> ServiceControl be in their own components, e.g.:
> 
>  
> 
> 
> 
>   
> 
>  
> 
> 
> 
>  />
> 
>  />
> 
>   
> 
>  
> 
> Are there any advantages or disadvantages to the structure
> I have used?
> 
>  
> 
> Thanks
> 
>  
> 
> Neil
> 
>  
> 
> Neil Sleightholm
> X2 Systems Limited
> [EMAIL PROTECTED]  
> 
>  
> 
> -
> Sponsored by: SourceForge.net Community Choice Awards: VOTE
> NOW!
> Studies have shown that voting for your favorite open
> source project,
> along with a healthy diet, reduces your potential for
> chronic lameness
> and boredom. Vote Now at
> http://www.sourceforge.net/community/cca08
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users


  

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Run rollback custom action with elevated privileges

2008-07-08 Thread Anidil

Doesn't that mean both Execute=rollback and Execute=deferred are made part of
the same rollback custom action? I'm not clear about writing the rollback
CA.Please help


Rob Mensching-2 wrote:
> 
> Rollback CustomActions must be deferred and thus are part of the elevated
> portion of the install.
> 
> -Original Message-
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] On Behalf Of Anidil
> Sent: Friday, July 04, 2008 05:27
> To: wix-users@lists.sourceforge.net
> Subject: [WiX-users] Run rollback custom action with elevated privileges
> 
> 
> Hello there
> 
> As per my understanding,to add a custom action to the roll back
> script,inside the CA, we need to change Execute="rollback".If we do this,
> how do i make it launch with elevated privilege?
> 
> thanks
> Anidil
> --
> View this message in context:
> http://www.nabble.com/Run-rollback-custom-action-with-elevated-privileges-tp18278493p18278493.html
> Sent from the wix-users mailing list archive at Nabble.com.
> 
> 
> -
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 
> -
> Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
> Studies have shown that voting for your favorite open source project,
> along with a healthy diet, reduces your potential for chronic lameness
> and boredom. Vote Now at http://www.sourceforge.net/community/cca08
> ___
> WiX-users mailing list
> WiX-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wix-users
> 
> 

-- 
View this message in context: 
http://www.nabble.com/Run-rollback-custom-action-with-elevated-privileges-tp18278493p18338727.html
Sent from the wix-users mailing list archive at Nabble.com.


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] ServiceInstall Advise

2008-07-08 Thread Neil Sleightholm
I am installing a service by using a fragment like this:

 









  

 

Is this a good or bad structure, should the ServiceInstall and
ServiceControl be in their own components, e.g.:

 



  

 







  

 

Are there any advantages or disadvantages to the structure I have used?

 

Thanks

 

Neil

 

Neil Sleightholm
X2 Systems Limited
[EMAIL PROTECTED]  

 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


[WiX-users] uninstall custom action

2008-07-08 Thread Yu, Brian
I am new to WIX and found myself supporting it. It's a great tool and
I'm sure there are more fun to be had.

 

My question is 

 

At Uninstall, I want the msi to create a machine.config file and
populate with important registry settings

I used xmltask to get it to populate an existing file I created 

 

Connection.wxi



   





   





   



   

   



 

xmlconfig.wxi



http://schemas.microsoft.com/wix/UtilExtension";

Id="BrianID3" 

Action="create"

ElementPath="//SOFTWARE/My/Debug/App1" 

File="[MACHINE_CONFIG]"

Name="OutputLogFile"

Node="value"

Value="[OUTPUTLOGFILE]"

On="uninstall"/>



 

But in order for this to work, I need to create ="c:\mymachine.config
and populate it with xml tags 

How can I get it msi to create a file c:\mymachine.config with those
values?

 

 

-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] WixUI_nl-nl.wxl missing entries for latest build (4227.0)

2008-07-08 Thread Danny Heijl
In patch format:

 

24a25,38

>   [ProductName] 
> Setup

>Overridable="yes">WixUI_Bmp_Banner

>Overridable="yes">{\WixUI_Font_Title}Lees aub de [ProductName] 
> Licentie-overeenkomst

>Overridable="yes">Ik &aanvaard de voorwaarden in de 
> Licentie-overeenkomst

>Overridable="yes">Klik installeer om het product te installeren met de 
> standaard opties voor alle gebruikers. Klik geavanceerd om de opties voor de 
> installatie te wijzigen.

>Overridable="yes">Klik installeer om het product te installeren met de 
> standaard opties enkel voor de huidige gebruiker. Klik geavanceerd om de 
> opties voor de installatie te wijzigen.

>Overridable="yes">&Installeer

>Overridable="yes">Geavanceer&d

>   8

>   12

>   9

>   8

>   Tahoma

>   

77a92,101

>   [ProductName] 
> Setup

>   Product opties

>Overridable="yes">WixUI_Bmp_Banner

>   Selecteer de manier 
> waarop u het product wil installeren.

>   {\WixUI_Font_Title}Product 
> Opties

>Overridable="yes">FeaturesDlgItemDescription

>Overridable="yes">FeaturesDlgItemSize

>   &Installeer

>   &Wijzig

> 

91c115,132

<   

---

>  

>   [ProductName] 
> Setup

>Overridable="yes">WixUI_Bmp_Banner

>   Selecteer de 
> installatiewijze en map

>Overridable="yes">{\WixUI_Font_Title}Installatiewijze

>Overridable="yes">{\WixUI_Font_Emphasized}Installeer &enkel voor de 
> huidige gebruiker: ([USERNAME])

>Overridable="yes">[ProductName] wordt geïnstalleerd in een map per gebruiker 
> en is enkel beschikbaar voor uw huidig gebruikersaccount. De installatie 
> vereist geen administrator rechten.

>Overridable="yes">[ProductName] ondersteunt geen installatie per 
> gebruiker.

>Overridable="yes">{\WixUI_Font_Emphasized}Installeer voor alle gebruikers van 
> deze &computer

>Overridable="yes">[ProductName] wordt geïnstalleerd in een gemeenschappelijke 
> map by default en is beschikbaar voor alle gebruikers. U kan de 
> installatiemap wijzigen. Hiervoor zijn locale administrator rechten 
> nodig.

>   Installatie 
> &map:

>   &Wijzig...

> 

>   [ProductName] 
> Setup

>   Installatiimap moet op een 
> locale harde schijf.

>   WixUI_Ico_Info

>   Information 
> icon

>  

95d135

<   

111a152

>Overridable="yes">[ProductName] kan niet worden verwijderd.

112a154

>Overridable="yes">[ProductName] kan niet worden hersteld.

217d258

<   

519a561

>   Map|Nieuwe Map


===
30 september Cevi klantendag, reserveer deze datum nu vast in uw agenda!

Cevi disclaimer: 

http://www.cevi.be/cevi/site_v2/siteinfo/disclaimer.asp?action=www


-
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users