|
There are ways to modify certain types of files during an uninstall and roll back these changes during an uninstall, but they all require an intimate knowledge of msi architecture and are beyond the scope of what you can do in the VS IDE.
So, yes, your best option is to create a custom action. However, the exact procedure you choose depends a lot on what type of file you are working with and what kind of chnages you plan to make.
For example, if you plan to create a custom action using an Installer class, you may not always get the results you expect. Suppose you decide a simple approach is to create an Installer class custom action that copies the file in question to some temporary location and simply copies it back to the Common folder during uninstall. This will not work as you expect, because Installer class based custom actions are run at the end of the install. This means the original file has already been replaced during the installation, so what would happen is you would copy the new file to the temporary copy, then restore the new file again, effectively accomplishing nothing different than marking the file permanent.
So an alternative would be to simply not install the file at all. Instead write a custom action that amends the existing file with your changes, then removes those changes from the amended file during uninstall. This approach is viable if the file is a simple text file etc. but would be pretty difficult to implement if the file is binary.
Depending on what exactly you need to do, you may need to embed the custom action as a DLL rather than using the NET Installer class. This is a lot more flexible approach - you can for example control exactly when the custom action executes, you are not limited to an action that always runs at the end of the sequence.
Post some more details and maybe I can offer some specific suggestions.
|
|
|
|
|
I am just need to amend and xml configuration file with the common files folder, nothing major
|
|
|
|
|
I would try using the NET Installer class to do something like this. You can create conventional NET C# or VB.NET code to write the entries you need to the existing config file, then create similar code to remove the same entries in an uninstall. See the MSDN or search for articles on CP that describe creating Custom Actions using Installer classes.
|
|
|
|
|
Hello., I am new to VC++,COM
Plz . send me vc++ resume for attending interviews.
Praveen Chowdam Kumar
|
|
|
|
|
You want someone to give you a sample of a resume you can use ? Why not write one that reflects your true experience ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
pls try out some search engines
yahoo.com
google.com
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Can anybody provides me with a good resume reference or template things like that!
|
|
|
|
|
Have your googled? Try looking for writing good resume
<italic>Work hard, Work effectively.
|
|
|
|
|
I am a complete wreck today !! . Know why ??
My wife and my mom are fighting everyday . Though my mom can be blamed for few mecheivious acts , I feel my wife is unnecessarily
adament on silly issues . I , now a days , go home very very late in the evening . And come to office on saturdays also .
I know I am harming my mental/physical health by over work and I am an escapist from reality .
I talked to my wife to make her think reasonably , but no positive results ...She is yelling at my mom for silly matters...
Finally I came to know I have lost of peace of mind...
I dont understand how people can be so ununderstandable to the fact that I am the breadwinner of the family I NEED PEACE of MIND above all ???
Why is this happening . I am totally at loss of ideas . In the office people are asking me why I am unusually dull . Some even smelled something is wrong in my family . I am very depressed . There is an air of sympathy on me now in the eyes of my collegues.
Has anyone solved such kinda issues ? or Am I taking to much into heart ?...
For past 3 days I stopped coding ....simply looking at the screen ...asking myself WHY shd it happen to me only ???? when everybody else is happily married ...
redindian
|
|
|
|
|
Without knowing more detail it is difficult to advise but my thoughts are:-
Your wife and mother are competing for a scarce resource - you - which is why they are fighting. You need to reassure both that you are not "choosing between them" in allocating your time (or indeed earnings).
|
|
|
|
|
yes you are true ..
My friends say mothers become insecure once wife comes ...
and wives becomes insecure once the mothers come to live with thier husbands ...
But in my case , all my money , home affairs , even considerations are given only to my wife - my mom is a non-entity as far as household stuffs are concerned. Still my wife is stupidly creating issues ..
People say every propblem has a solution ..
I have learning how to fix a worst memory leak , dangling pointer bugs spending weeks ..but i never mastered the art of keeping the balance at house ...
I am sure I am a soft spoken , understanding husband to my wife . Today also I asked her calmly to share with me any problems she wants me to talk out with my mom ...she refuses to reason with actions and also continues to yell at all of us ..including me ....
Life is a wreck
redindian
|
|
|
|
|
dharani wrote:
People say every propblem has a solution ..
Yes, and most of the problems the answer is.... time
"He that is good with a hammer tends to think everything is a nail." - Abraham Maslow
|
|
|
|
|
dharani wrote:
My wife and my mom are fighting everyday
Really very Sad Story, Though I amnot married but i can understand your situation (Wouldn't want t give reason why? pls).
Do u have Kids? if no, then have atleast one., this will certainly going to reduce problem at your Home... It's time tested formulae... try it.. as small children always bringer of peace and harmony in family..!
"Opinions are neither right nor wrong. I cannot change your opinion. I can, however, change what influences your opinion." - David Crow
cheers,
Alok Gupta
VC Forum Q&A :- I/ IV
|
|
|
|
|
for me, the key of happiness is the word... we always talk together (with my girlfriend - i'm not married) but as soon as something embarrasing happens, talking together decreases the difficulty. i don't know why your wife refuses to talk, and what's going on between her and your mother, but you should talk with each separately to understand her visions of the problem...
if you don't, you won't know why it's like that, and if you can't know, you won't solve the problem...
maybe this have dark/deep reasons (maybe the time you spend at work) but as i advise you, you won't know if all these words are not spoken down.
what you could do after having words bith both separately is having a discussion all together (yep, your wife, your mom and you) where you could take the rule of a mediator, giving the speak time to each, and forbidding the voice level to increase...
d'you understand what i suggest ?
have peace and courage,
TOXCCT >>> GEII power [toxcct][VisualCalc]
|
|
|
|
|
Let me get this right - your mother LIVES with you ? Why ?
Here's a newsflash for you - when you got married, you chose to build a family with your wife. If your mother doesn't like that, if they don't get along, you need to either stand by your wife, or divorce her. If you just run to work, then they will keep fighting and hoping that you'll make a stand for one or the other. Be a man. Otherwise, be ready for an unhappy life.
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
Been there done that...
Do yourself a favour, and get to understand what your wife and mother really want.
There is an excellent book written by Susan Forward, called "Toxic parents"
ISBN - 0 - 553 - 38140 - 7
This will give you a good insight, but needs you to be mentally strong and make choices that you can live with.
Best of luck.
|
|
|
|
|
i read your story.i am unmarried but i saw same situation at my relatives family.
as many indians have joint families so this problem is comman.
i will suggest u few thinks.
a)Send your mother at some holy or picnic places for a few days or u & your wife make plan for tour.
by changing your daily routines & going for the tours your mind will be get fresh.
b) tell your mother & wife that their current behaviour will directly affect your job.
c) for u just start the day with love,fill the day with love & end the day with love.
|
|
|
|
|
//U are not he only person facing such situation & what ur doing is i think what
//a normal person might have done in his life. I strongly belive that Time is the
//solution for any dam big problem , So pls be patient divert ur attention to
//some other work.
//Look when people grow old they are insecure about their importence
//Young people are more egoistic.
//If both get their importence & ego satisfied then the problem is solved.
//let your mom feel that she is important
//make your wifes ego satisfied , take her out some time
//One best solution make your wife to do JOB
//One thing i can do is to pray god for your family
//Can do " Gayatri Yagna "
Vikas Amin
Embin Technology
Bombay
vikas.amin@embin.com
|
|
|
|
|
Hi, I have a question about Microsoft exam. Currently I got MCP which exam from an institute that have a partnership with PeasonVUE (Microsoft authorize testing center). At the time that I get an exam I have to pay for Microsoft in order to have an exam. Now this institute is change far away from my hometown. But I need to earn more certificate but there is no authorize testing center near the place that I live. My question is, Is it possible for me to pay an exam fee for Microsoft online and I could do my own exam at home via my internet connection at home??? Please give me an advice in order to make a preparation for an exam.
A thousand mile of journey, begin with the first step.
APO-CEDC
Save Children Norway-Cambodia Office
|
|
|
|
|
As far as I know, you cannot take MS exams from home. You have to go to an authorized testing center.
Mads
|
|
|
|
|
Thank you very much for your comment. So I have to travel to microsoft authorize testing center whether it is far away from my hometown.
MCP
|
|
|
|
|
I suggest sending your question to mcphelp@microsoft.com.
"One must learn from the bite of the fire to leave it alone." - Native American Proverb
|
|
|
|
|
FOR ASP.NET Programmer in MUMBAI , INDIA:
Educational Qualification : BE , MCA
Programming Languages : ASP.NET , JavaScript , HTML ,
Tools : VS.NET , Enteprise Manager , SQL Query Analyser.
Databases : MS SQL , Access
Others :
a) Strong OOPS knowledge.
b) Good understanding of the various phases in SDLC
c) Understanding of the 3 - Tier Architecture and its implementation.
d) Excellent Communication Skills.
e) Strong Grasping power.
The key objectives of your role would be (ASP.NET Programmer)
1) Provide technical ownership for subcomponents (code, functional validity and quality) of an identified effort.
2) Be a part of the entire project effort.
3) Perform complex software development tasks within appropriate schedule, task, and quality guidelines set in conjunction with the Lead Analyst /Project Manager of the project.
4) Involve in activities like Database Design , Class Design and various design stages and make suitable contributions.
5) Apply OOPS concepts to the Developed code.
6) Speedy Problem solving / error debugging
INTERESTED CANDIDATES MAIL YOUR RESUME TO ASHUTOSH on jobs@cyberbackoffice.com
|
|
|
|
|
Mr. Mister wrote:
Programming Languages : ASP.NET , JavaScript , HTML ,
ASP.NET is not a programming language. VB.NET and C# are. ASP.NET is a framework.
Mr. Mister wrote:
Strong Grasping power.
You want someone with big muscles ?
Mr. Mister wrote:
Provide technical ownership for subcomponents (code, functional validity and quality) of an identified effort.
ROTFL - what does this MEAN ?
Christian Graus - Microsoft MVP - C++
|
|
|
|
|
We will be Interested, please contact me.
Tapas Shome
System Software Engineer
Keen Computer Solutions
1408 Erin Street
Winnipeg, Manitoba
Canada R3E 2S8
ww.keencomputer.com
|
|
|
|