Warning: The author of this contribution does not provide support for it anymore.

ACP Add User MOD

How can I Undo Manual Installation? - ACP Add User MOD

How can I Undo Manual Installation?

by batambale » Fri Jul 15, 2011 12:58 pm

Hi,

When I installed this mod, I was not aware of AutoMOD that automates the process of mod Installation, so I did it manually. I m realizing now that updating phpBB is especially difficult with manually installed MODs. Therefore, I am trying to un-install this mode (along with few others) so that I can re-install using AutoMOD. I checked the Install.xml file that came with the mode but it seems the installation involved only copying the files that came with the mode:

File copy

Copy: root/*.*
To: *.*


However, after copying the files, one has to also run the installation script: acp_aumod_install.php
It is not clear to me what this script did, although I think it has something to do with the ACP. Could anybody kindly guide me on what this script did and how to undo those actions. Your help is very much appreciated.

Thanks.
batambale
Registered User
Posts: 39
Joined: Tue Jun 07, 2011 9:45 am

Re: How can I Undo Manual Installation?

by wolfman24 » Fri Jul 15, 2011 1:14 pm

batambale wrote:I m realizing now that updating phpBB is especially difficult with manually installed MODs.

There is no difference in updating phpbb whether you did a manual mod install or you used automod, so there is no need to uninstall and reinstall this mod, the effect to the phpbb files and database is the same.

The Auto Updater of phpBB takes care and with most mods an update is no problem at all.
wolfman24
Registered User
Posts: 387
Joined: Tue Mar 07, 2006 12:07 pm

Re: How can I Undo Manual Installation?

by batambale » Fri Jul 15, 2011 1:44 pm

Thanks for the information, I really appreciate it. However, one advantage I noticed with AutoMOD is the ease with which one can Install and Uninstall mods. I feel that gives me more control over my mods. With Manual installation, AutoMOD does not seem to be aware of the mod, so it cannot help me if I wish to uninstall. Therefore I still prefer to re-install all my mods using AutoMOD. If you know how to Uninstall this particular MOD, kindly share.

Thanks again.
batambale
Registered User
Posts: 39
Joined: Tue Jun 07, 2011 9:45 am

Re: How can I Undo Manual Installation?

by RMcGirr83 » Sat Jul 16, 2011 10:37 am

Automod sees the mod just fine as long as you uploaded it into the correct directory keeping the structure. If it didn't the mod wouldn't have passed validation.

The copy root *.* to *.* means to copy all the files and directories found under the root folder of the mod into the forum, so open up the root directory of the mod download and see what files were added to where.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: How can I Undo Manual Installation?

by batambale » Sat Jul 16, 2011 2:08 pm

RMcGirr83 wrote:Automod sees the mod just fine as long as you uploaded it into the correct directory keeping the structure.


Thanks RMcGirr83 for your response. Is your statement above true even if AutoMOD was installed AFTER the mod in question was already installed? I have no problem with copying the files in the appropriate directory, I m sure I did that correctly. If you may recall my earlier post on a different topic, I even modified the files for this mod to make it work with another mod, "Separate login and username". However, in the ACP, the AutoMod unser-interface is only listing for me mods that I installed after its own (AutoMod) installation. There are four mods I installed manually before I installed AutoMod (inluding this one), they are all working correctly as they should, yet they are not listed in the AutoMOD interface - with the option to Uninstall that I really need. Kindly clarify.

Thanks again.
Last edited by batambale on Sat Jul 16, 2011 4:24 pm
batambale
Registered User
Posts: 39
Joined: Tue Jun 07, 2011 9:45 am

Re: How can I Undo Manual Installation?

by RMcGirr83 » Sat Jul 16, 2011 4:03 pm

If the mod was installed manually and prior to using automod, then automod doesn't know the mod exists and it won't display as an installed mod within it.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: How can I Undo Manual Installation?

by batambale » Sat Jul 16, 2011 4:19 pm

RMcGirr83 wrote:If the mod was installed manually and prior to using automod, then automod doesn't know the mod exists and it won't display as an installed mod within it.


Exactly what I thought and actually experienced. So now back to my original question if you can help please. How do I uninstall this mod manually so that I can then use AutoMOD to re-install. I know where the relevant files are and I can delete them. But is that all? Are there any changes done by the acp_aumod_install.php install script that I need to undo? I really appreciate your response.

Thanks.
batambale
Registered User
Posts: 39
Joined: Tue Jun 07, 2011 9:45 am

Re: How can I Undo Manual Installation?

by RMcGirr83 » Sat Jul 16, 2011 6:21 pm

The acp_aumod_install script makes the database changes for you, it doesn't affect file changes at all.

Just remove the files and edits the mod has you make then install it via automod and you should then be set. There is no need to run the install script unless you want to.
Former Modifications/Extensions Team Member | My extensions | github | All requests for support via PM will be ignored
Appreciate the extensions/mods/support then you can support me by buying a beer 🍺
User avatar
RMcGirr83
Former Team Member
Posts: 22105
Joined: Wed Jun 22, 2005 4:33 pm
Location: Your display
Name: Rich McGirr

Re: How can I Undo Manual Installation?

by batambale » Sat Jul 16, 2011 10:00 pm

Thanks guys, problem solved. All I did was to upload the mod files into the mod folder under the "store" folder. With that, AutoMOD was able to see the mod, although it considered it as "Uninstalled", which is logical - although I know it is already installed. Since this mod only involves copying the files, I just selected the Install option to re-install it, there by overwriting the files. But I made sure not to select the database update option since I know these changes are already done from the manual installation. Thats all, now the AutoMOD has recognized the mod as installed and the mod itself is working fine as expected.

Thanks again for your help.
batambale
Registered User
Posts: 39
Joined: Tue Jun 07, 2011 9:45 am