I'm currently finding myself in a bind, where I wish to generate a shortcut with a property value embedded within it. From the various posts and observation, I note that the Shortcut table isn't "formatable". As such, I can't use property references within the name, description, etc fields. My first guess was to create a custom action that would modify the in memory DB to format these properties on the fly, but that isn't clean as I would have to manually create all of the records (we can't modify the existing record data at runtime via a custom action).
Since I plan on using instance transforms, and it is this property I am looking to inject into these fields I ponder if it would make more sense to enhance the instance transforms code to modify a variable list of tables based on an additional attribute on the InstanceTransforms element. Something along the lines of: <InstanceTransforms Property="INSTANCEFOLDER" InstanceTables="Shortcut;"> <Instance Id="Develop" ProductCode="*" UpgradeCode="{????????-????-????-????-????????????}" ProductName="Foo Develop"/> ... For now, I could see this scanning for any table(s) provided in @InstanceTables for the property defined as INSTANCEFOLDER and replacing it with the value assigned to INSTANCEFOLDER via the Instance element. Am I way off my rocker here? Is there an easier way of modifying the shortcuts table? (I don't like having to have the shortcuts defined multiple times one for each instance and using a condition.) ------------------------------------------------------------------------------ RSA(R) Conference 2012 Save $700 by Nov 18 Register now http://p.sf.net/sfu/rsa-sfdev2dev1 _______________________________________________ WiX-users mailing list WiX-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wix-users