I am using Basic MSI Project.
I have created one xml file and reading values from it and storing in a property named "NAME" using system search mechanism.
I also have to get the computer name which i am getting via registry entry using system search mechanism and storing this is property named "COMPUTERNAME".
Now during installation in customer Information dialog i want to store this two property in COMPANY EDIT edit box.

Please let me know how can i get to the solution.

Any help will be appriciated.

0 Comments   [ + ] Show Comments


Please log in to comment

Community Chosen Answer


First point to make is that you don't need the registry read / system search method to obtain the computer name, there is a standard property ComputerName which you can use instead.

As you may already be aware you cant use the Property table to assign a value to a property based on the value of one - or in your case two - other properties as this would create a circular reference.

Instead, you should consider using a Type 51 custom action. This will allow you to use the formatted type for the assignment So your property assignment might be something like this

COMPANYEDIT = [NAME]-[ComputerName]

NB: Remember though that there are special considerations if you are using deferred custom actions as most properties are not defined in this mode. If this is the case, have a search around for the CustomActionData method.


Answered 04/24/2011 by: spartacus
Fifth Degree Brown Belt

Please log in to comment
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.


Thanks Brother.
it was great help
sorry for late reply.
it worked fine
can i send u a beer..:)
Answered 05/05/2011 by: abhijeetkusre
Yellow Belt

Please log in to comment
Answer this question or Comment on this question for clarity