Actually this is not what I'm looking for. Since I need to be able to refer to the jar file when I call a custom action during installation, before the actual installation of files, what I want is to be able to get the path to the jar component "in the backup files", not the target path. So anyone know if there is a way to do such a thing in WiX? Or even if there's no such a feature, anyone who knows how to do it outside of WiX mind telling me where to look into for more information?
Thanks! Roger Yen -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Petersen Sent: Monday, June 09, 2008 3:21 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] referencing to components within msi being installed Decided an example might be good. Here's a custom action that uses the file Id for this purpose. See the [#mwefile143] portion. That's the file Id. <CustomAction Id="caImportMWE" FileKey="ImportBatch" Execute="deferred" ExeCommand="-f "[#mwefile143]" -U "system" -P "Open says me" -UD "[ENTRE_DB_USER]" -PD "[ENTRE_DB_PASSWORD]" -LN "Local Loader" -D" HideTarget="yes" /> -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Chad Petersen Sent: Monday, June 09, 2008 12:06 PM To: General discussion for Windows Installer XML toolset. Subject: Re: [WiX-users] referencing to components within msi being installed Even better. You can generally refer to a file directly with the [#FileId] syntax. Thanks Chad -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Roger Yen Sent: Monday, June 09, 2008 11:52 AM To: wix-users@lists.sourceforge.net Subject: [WiX-users] referencing to components within msi being installed Hello, I have a msi with jar files as components within, and during the installation, I would be calling a java program by custom action that will need one of these jar files, is there anyway in WiX to reference to a component and get the file path to it during installation ? Thanks, Roger Yen --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------ - Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users --------------------------------------------------------------------- This transmission (including any attachments) may contain confidential information, privileged material (including material protected by the solicitor-client or other applicable privileges), or constitute non-public information. Any use of this information by anyone other than the intended recipient is prohibited. If you have received this transmission in error, please immediately reply to the sender and delete this information from your system. Use, dissemination, distribution, or reproduction of this transmission by unintended recipients is not authorized and may be unlawful. ------------------------------------------------------------------------- Check out the new SourceForge.net Marketplace. It's the best place to buy or sell services for just about anything Open Source. http://sourceforge.net/services/buy/index.php _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users