PDA

View Full Version : Applying patch to more than one feature using single exe and across the network


jyothi
02-19-2003, 04:41 AM
Hi,
We have 3 features associated with our software.User has to choose the features they
want to install.When we install our software we will create 3 registry entries, where registry1
stores path for feature1, registry2 stores path for feature2 and registry3 stores path for feature3.
All 3 features will be installed in different directories within harddrive.
for eg : C:\Feature1 , C:\Feature2, D:\Feature3
I have to create patch such that user can apply patch files to all these 3 features using single
patch.exe based on the features installed.

Also can i apply the patch across the network if the the anyone of the features is located in some other
computer by taking machinename? If we can , please suggest me how can i go about this.

Thanks,
Jyothi

Mark
02-19-2003, 05:09 PM
Hi,

Try reading all of the paths to each feature from the registry, and then set the destination of each feature to be the value you read from the registry. So if Readme.txt is part of feature1, and you read feature1's path into the variable: %Feature1%. Set the destination for "Readme.txt" to %Feature1%.

As far as your question regarding applying the patch across a network is concerned, I'm not really sure what you mean. Where would the patch be run from? How would you know what the installed location of the feature would be? Would it be a shared folder? Are you looking to push the update onto a desired computer?