Re: [WiX-users] Rename File based on Argument passedtoMSIInstallation

2013-02-21 Thread Peter Shirtcliffe
Yes, I'm talking about the file  component of the file that you want to
copy/rename.
FFF should be replaced with the Id of the File element.
CCC should be replaced with the Id of the Component that is the parent of the
same file element.

CostFinalize is just the place in the execute sequence where the property
will be set. Don't change that.

-Original Message-
From: chennam [mailto:chatrapathi.chen...@gmail.com] 
Sent: 21 February 2013 14:36
To: wix-users@lists.sourceforge.net
Subject: Re: [WiX-users] Rename File based on Argument
passedtoMSIInstallation

Hi Peter I was bit confused ,please bear with me.

SetProperty Id=SourceFilesFolder Value=[#FFF] After=CostFinalize /
Where FFF is the file ID of the source file. 

Here FFF is the fileId which is generated in Heat output file? and here
CostFinalize is some feature?


SetDirectory Id=DestFilesFolder Value=[$CCC] / Where CCC is the
Component ID of the source file. 

Here CCC  is the Component ID which is generated similarly in Heat output
file? 

Please see component id which is generated for the file which I am trying to
copy and paste it same directory:

Component Id=cmpE3B75974B57E1263C93B9B05FDFE715F
Directory=dir64C5FB989D956FBA878D608B754DE28A
Guid={CA810124-F44B-4EF5-986A07FAA67434AB}
File Id=fil85729F855FDD131D6161043C08CB4543 KeyPath=yes
Source=C:\Workspaces\Chatra\Website\SCBUDirect.B2CWeb\App_Config\ConnectionS
trings.config
/
 /Component



--
View this message in context:
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Rename-File-bas
ed-on-Argument-passed-to-MSI-Installation-tp7583717p7583839.html
Sent from the wix-users mailing list archive at Nabble.com.

-
-
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics Download AppDynamics Lite for free
today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users
SDL PLC confidential, all rights reserved.
If you are not the intended recipient of this mail SDL requests and requires 
that you delete it without acting upon or copying any of its contents, and we 
further request that you advise us.
SDL PLC is a public limited company registered in England and Wales.  
Registered number: 02675207.
Registered address: Globe House, Clivemont Road, Maidenhead, Berkshire SL6 7DY, 
UK.


--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users


Re: [WiX-users] Rename File based on Argument passedtoMSIInstallation

2013-02-21 Thread chennam
Thanks Peter..

Another question is 

does the source file of copyfile should on destination system? or 
Source file  can be part of MSI package(after heat) and during installation
process we can rename the file using Copyfile?



--
View this message in context: 
http://windows-installer-xml-wix-toolset.687559.n2.nabble.com/Rename-File-based-on-Argument-passed-to-MSI-Installation-tp7583717p7583841.html
Sent from the wix-users mailing list archive at Nabble.com.

--
Everyone hates slow websites. So do we.
Make your web apps faster with AppDynamics
Download AppDynamics Lite for free today:
http://p.sf.net/sfu/appdyn_d2d_feb
___
WiX-users mailing list
WiX-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wix-users