morpheus
12th February 2003, 08:22
Hello,
There are some sessions in BaaN for which code is provided. If some PMC solution is installed for these sessions, and provided the solution has script as a component, then the old script is replaced by the new one. And if the solution is uninstalled, the old script is AGAIN available!!
Now, the query is where is the old script stored!!?:confused:
isimeon
12th February 2003, 09:14
Uninstall directory in Maintain PMC Parameter.
OmeLuuk
12th February 2003, 13:26
in a dmp file with the uninstalled solution number.
morpheus
13th February 2003, 12:27
Thanks for the reply.
But, I am not sure whether I could explain my query or not!!
Anyway, the "uninstall" directory for PMC solutions includes all those dmp files (with solution # name), which are required to uninstall any solution, or we say, the solutions which are in the installed stage.
Now, what I am talking about is that, there is a software component (10 Kb) which is being replaced (20 Kb) through a PMC solution. Now, if later on, I uninstall this PMC solution (20 Kb), I get back the original component (10 Kb). Now, where is this 10 Kb component stored!!?
isimeon
13th February 2003, 12:37
I am not sure, but I think PMC working as follows:
Install
1. PMC save original components included in solution in dmp file in uninstall directory.
2. Install solution with new components
Uninstall
1. PMC install original components from uninstall dump and delete or update coresponding PMC records.
The original scripts are included in uninstall dump.
If I am wrong, correct me.
OmeLuuk
13th February 2003, 12:41
Check to Install solution 101101 with component update on otttstobj (20 kb):
In the $BSE/pmc/install_dumps/B40_c there is an exact copy of the 101101stnd file of the ftp-server (named 101101).
Now install 101101 to replace 10 kb otttstobj with the update on this object (20 kb). Check "save components".
when installing: in the uninstall directory a dump is being made with all components contained in 101101, the file is named 101101.
So in that stage: the 10 kb object is parked there.
When uninstalling solution 101101 that dump is imported again.
morpheus
13th February 2003, 13:09
It does make some sense.
I install solution # "A". The components which will be overwritten, are stored in the dmp file "A", under "uninstall" directory. Later on, if wish to uninstall solution # "A", the system uninstalls the solution, and then imports all those components from file "A" into the system.
Hope I am on the right track, and does it hold good even for Service Packs!?
OmeLuuk
13th February 2003, 13:22
Service packs are collection of individual solutions... so it works the same... But due to the extra information that is contained in the SP dump, the procedure is different. I think the basic principle is however the same.
robertvg
14th February 2003, 10:48
Question:
How can someone execute an 'uninstall' if the dumps in the uninstall directory have been deleted and are not available anymore ?
Robert
morpheus
14th February 2003, 11:08
I remember trying that once. But, the system did not allow me to uninstall the solution. The error message said - Dump not found - or something like that!!
I do not know whether there is any workaround or not!!
OmeLuuk
14th February 2003, 14:38
If you uncheck the field "Save Components" then you are being warned.
The dump in the uninstall dir has another format (at least another header) than the dumps in the install dir, so you cannot sneak the previous solution number from the install to the uninstall directory.