1. No. You can use 32-bit CustomActions in a 64-bit package. -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Cosmin Manoliu Sent: Monday, May 28, 2007 12:13 AM To: WiX-users@lists.sourceforge.net Subject: Re: [WiX-users] Wix Extension useable for 64 and 32 bit products
Hello Rob, Thank you for the answer. 1. I think I need to mark the MSI package as 64 bit. The reasons are: I am doing COM registration, installation to 64 bit folders. In this case probably I cannot go with 32 bit custom actions. Can you please confirm? The installer process will be a 64 bit process? In this case I guess is not possible for it to call 32 bit custom actions. I am not sure about this, the MSI documentation is not clear for me on this issue. 2. I think I need to go with these option. So far I successfully marshaled the other data to the compiler (following the WiX CustomActions). I don't know how can I marshal the Win64="yes" information to the linker. Can you please point me to a sample or documentation (or WiX source code)? What means unreal table? Rob Mensching wrote: > > 1. You do not have to provide CustomActions as both 64-bit and 32-bit. > For example, all of the WiX CustomActions are 32-bit only and work > fine on 64-bit machines. > > 2. If you want to switch between 64-bit and 32-bit (you can't have a > package that installs both today) then you need to have some authoring > (like Win64="yes") then marshal that data to your extension in the > linker. An unreal table would probably be useful for that. > > *From:* [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] *On Behalf Of *Cosmin > Manoliu > *Sent:* Friday, May 25, 2007 4:15 AM > *To:* WiX-users@lists.sourceforge.net > *Subject:* [WiX-users] Wix Extension useable for 64 and 32 bit products > > Hello, > > I am using WiX 3. I am trying to develop a WiX extension for my custom > actions. > I follow the WiX Extension model. > > So far I did not found a good way to accomplish following: I would > like to have the same > WiX Extension use able on both 32 bit products and 64 bit products. > > As I understand it, I need to provide the custom action both as 64 bit > build and 32 bit build, > then I should write a WiX library which is scheduling the proper > custom action. > Following the WiX Extension model I should provide this library. All > of these will happen at link time. > As I see it, at link time, the information regarding MSI platform > information is not available. > These means that I only have the chance to write a proper WiX library > which is able > to schedule the correct custom action. Is this possible? > > am I missing something? Could you please point me to the right direction? > > Thanks > ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users