Re: [WiX-users] Renaming a file during installation

2006-11-29 Thread Rob Mensching
om: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Arnette, Bill Sent: Wednesday, November 29, 2006 10:08 To: wix-users@lists.sourceforge.net Subject: Re: [WiX-users] Renaming a file during installation You're probably better off either: A) Copy the file from the template in a custom actio

Re: [WiX-users] Renaming a file during installation

2006-11-29 Thread Arnette, Bill
ED] > [mailto:[EMAIL PROTECTED] On Behalf Of > Rob Hamflett > Sent: Wednesday, November 29, 2006 11:45 AM > To: wix-users@lists.sourceforge.net > Subject: Re: [WiX-users] Renaming a file during installation > > CopyFile has to live in a component, and it will now what the > des

Re: [WiX-users] Renaming a file during installation

2006-11-29 Thread Rob Hamflett
CopyFile has to live in a component, and it will now what the destination file is called. You could end up with the two instances of the component installed, but each referring to a different file. If you uninstall one of the products it won't delete the file because there's another product t

Re: [WiX-users] Renaming a file during installation

2006-11-29 Thread Sorin Radulescu
Rob, thanks for your reply. I have this file that I want to rename that acts like a template and I have to rename it based on the user's input. I don't see a problem if the user specifies different names on each occasion - in fact this is how it should work. Is any danger in this? Thank you, So

Re: [WiX-users] Renaming a file during installation

2006-11-29 Thread Rob Hamflett
That sounds dangerous. What if that component gets installed twice, but on each occasion the user specifies a different name? Rob Sorin Radulescu wrote: > Hello, > > I am trying to rename a file that is coming with my installer. The new name > of the file should be based on a value set by the

[WiX-users] Renaming a file during installation

2006-11-29 Thread Sorin Radulescu
Hello, I am trying to rename a file that is coming with my installer. The new name of the file should be based on a value set by the user in one of the dialogs. So far I've tried different combinations of File and CopyFile but with no luck. Is there a way to do this using WiX? My WiX version: 2