Re: [WiX-users] Problem while creating objects by calling custom action

2009-10-08 Thread Farooq Mahmud (Hotmail)
@lists.sourceforge.net Subject: Re: [WiX-users] Problem while creating objects by calling custom action We want to collect information then store all these information in .xml file. Information like this: obj_PDBInformation.DisplayName = session["DISPLAYROP"]; obj_PDBInformation.Server = session[&

Re: [WiX-users] Problem while creating objects by calling custom action

2009-10-08 Thread danimian
We want to collect information then store all these information in .xml file. Information like this: obj_PDBInformation.DisplayName = session["DISPLAYROP"]; obj_PDBInformation.Server = session["SERVERPROP"]; obj_PDBInformation.Server = session["PORTPROP"]; obj_PDBInformation.Server = session["USER

Re: [WiX-users] Problem while creating objects by calling custom action

2009-10-08 Thread Farooq Mahmud (Hotmail)
It's not overwriting the old object, it is creating a new object each time the custom action is invoked so you can't save state like this. A better approach would be to write the object's data into a custom table. When you need to create the collection, iterate through the rows in the table, create