954,518 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to set windows installer properties in custom installer

i know how to get property values :

Context.Parameters["nameOfProperty"]

but i dont know how to set them from custom installer class.
any ideas?

serkan sendur
Postaholic
Banned
2,062 posts since Jan 2008
Reputation Points: 854
Solved Threads: 127
 

When/Where are you looking to set the values, ie at what point of the installation?

sknake
Industrious Poster
4,954 posts since Feb 2009
Reputation Points: 1,764
Solved Threads: 735
 

before install. the problem is following, my setup deploys two executable. when i have new version of that software, it needs to check if both components installed, if they are installed then it needs to upgrade two of them, if only one of them installed then it needs to upgrade only one of them.
do you have another idea about how to do that?

serkan sendur
Postaholic
Banned
2,062 posts since Jan 2008
Reputation Points: 854
Solved Threads: 127
 

here is the better explanation of the situation :
let say your application is composed of two components, one being the regular application, the other being the administrator console.
when you push the updates to the clients, if they have the adminstrator console installed as well as the regular application, then you want to upgrade both of the components. else, you just want to upgrade regular application but not the administrator console. all must be done using one windows installer file (.msi)
if you can think of another idea, i am open to do that too.

serkan sendur
Postaholic
Banned
2,062 posts since Jan 2008
Reputation Points: 854
Solved Threads: 127
 

This question has already been solved

Post: Markdown Syntax: Formatting Help
You