This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.

Problem with Reinstall!
Started by
nguyentinh
, Apr 26 2010 04:24
6 replies to this topic
Posted 26 April 2010 - 04:24
hi!
I was created a installer. it has 5 features.
after that, i selected 3 features to install. it's right.
then, i reinstalled. but i selected 1 new feature. My installer performed uninstall 3 old feartures and install new feature.
i need to install 4 features. but it only install 1 new feature!
how to solve this proplem? please help me!
I was created a installer. it has 5 features.
after that, i selected 3 features to install. it's right.
then, i reinstalled. but i selected 1 new feature. My installer performed uninstall 3 old feartures and install new feature.
i need to install 4 features. but it only install 1 new feature!
how to solve this proplem? please help me!
Posted 27 April 2010 - 18:14
Make sure to keep any feature selected which you don't want to uninstall.
Stefan Krüger
InstallSite.org twitter facebook
Posted 21 May 2010 - 08:33
i set "Permanent" in Component Property then solve this problem.
but i have other prolem.
when i installed new feature , i uninstall then installer only detect a new feature.
how to detect features installed? i used MsiGetFeatureState. but it work wrong.
but i have other prolem.
when i installed new feature , i uninstall then installer only detect a new feature.
how to detect features installed? i used MsiGetFeatureState. but it work wrong.
Posted 21 May 2010 - 15:57
QUOTE |
sorry! because my line Internet error. but i cannot delete my posts. |
I deleted the duplicate messages for you.
QUOTE |
i set "Permanent" in Component Property then solve this problem. |
This means that this component will never be removed, not even at uninstall.
QUOTE |
how to detect features installed? i used MsiGetFeatureState. but it work wrong |
I don't understand your question. What are you trying to do?
Stefan Krüger
InstallSite.org twitter facebook
Posted 24 May 2010 - 08:33
Thanks your reply!
i has a installer. it's 5 features: A, B, C, D, E.
step1: i was selected 3 features A, B, C to install. it was successful.
step2: i perform reinstall. i only select feature D to install. it was successful.
and my problem:
i want to uninstall 4 features A, B, C, D. but my installer detect only installed feature D. and feature D can uninstall. features A, B, C cannot uninstall.
i has a installer. it's 5 features: A, B, C, D, E.
step1: i was selected 3 features A, B, C to install. it was successful.
step2: i perform reinstall. i only select feature D to install. it was successful.
and my problem:
i want to uninstall 4 features A, B, C, D. but my installer detect only installed feature D. and feature D can uninstall. features A, B, C cannot uninstall.
Posted 25 May 2010 - 15:50
In step 2, if you only select D and de-select A, B, C it should immediately uninstall A, B C.
If in step 2 yu want to add feature D but keep A, B, C you should not un-select A, B, C but keep them selected plus select D.
If your setup behaves difefrently (i.e. features A, B, C are not selected by default in step 2) there's something wrong.
If in step 2 yu want to add feature D but keep A, B, C you should not un-select A, B, C but keep them selected plus select D.
If your setup behaves difefrently (i.e. features A, B, C are not selected by default in step 2) there's something wrong.
Stefan Krüger
InstallSite.org twitter facebook