Extension Installer V2 (1 Viewer)

dukus

Portal Pro
January 20, 2006
783
748
45
Home Country
Romania Romania
The onlinevideos package it is invalid (not the full file was uploaded), but i fix the error in installer, now no exception just a error message. Now the installer can be resized and i add a option for skip a extension from auto update. For testing you can download from first post
 

dukus

Portal Pro
January 20, 2006
783
748
45
Home Country
Romania Romania
The partial file thing isn't true, just the old file format was uploaded, this will be fixed soon
 

Bleazle

Portal Pro
July 14, 2007
1,122
257
Pukekohe
Home Country
New Zealand New Zealand
This installer will be great - when I can work out how to use it :rolleyes:... I was up until 1am this morning trying to figure it out but it's got me stumped (where are the instructions?)

Edit: Post is out of date now.

I'll try to explain what I've done:
Setup:
Groups & Files:

Skin Files - I think this is set up OK
Font Files - " "
FanartHandler Plugin - " "
InfoService - " "
V8 Basic Home screen - install location %Skin%\BleazleWide
V7 Basic Home screen - install location %Skin%\BleazleWide

Install Sections
Welcome Screen - this is OK
Tree View Selector:
Groups Tab:
Skin Files
FanartHandler
InfoService

Actions Tab:
InstallFiles, Condition group: FanartHandler, Execute when: After Wizard...
InstallFiles, Condition group: InfoService Plugin, Execute when: After Wizard...
InstallFiles, Condition group: Skin Files, Execute when: After Wizard...

Image Radio Button - Preview is OK
Groups Tab:
V8 Basic Home screen
V7 Basic Home screen
Actions Tab
Nothing input at the moment - I've tried everything I can think of here but I think this is where the problem is. When I go to Build/Generate I get this error [BasicHome Screen Section] condition group not found [Plugin files]

Install Section
Groups Tab:
Skin Files
Font Files
FanartHandler
InfoService Plugin
V8 Basic Home screen
V7 Basic Home screen

Actions Tab:
InstallFiles, Condition group: Skin Files, Execute when: After Wizard...
InstallFiles, Condition group: Font files, Execute when: After Wizard...
InstallFiles, Condition group: FanartHandler, Execute when: After Wizard...
InstallFiles, Condition group: InfoService Plugin, Execute when: After Wizard...
InstallFiles, Condition group: V8 Basic Home screen, Execute when: After Wizard...
InstallFiles, Condition group: V7 Basic Home screen, Execute when: After Wizard...

Setup Complete Looks OK...

Any advice would be appreciated.

Thanks
 

Bleazle

Portal Pro
July 14, 2007
1,122
257
Pukekohe
Home Country
New Zealand New Zealand
WoW! That ^ was a thread stopper! :mad:

I've made progress since posting but I still haven't managed to get an install package which works properly & does what I want it to do so I have emailed Dukus to see if he can help me out. Once I get this sorted I'll see if I have enough knowledge to be able to update the Wiki because it would make things a lot easier (and save time) for others if there were some step by step instructions to follow (IMHO)..

EDIT: Dukus has had a chance to take a look and it's getting close to working :)
 

Bleazle

Portal Pro
July 14, 2007
1,122
257
Pukekohe
Home Country
New Zealand New Zealand
Hi dukus

Thanks for sending me the updated file, that worked! :D I couldn't tell what you had changed from the previous file but I have worked with what you sent me (added a lot of things) and have finally come up with an MPE1 Installer file that I'm happy with :)

I'm replying here (instead of emailing you) because I wanted to cover something which I have found difficult to work with and I want to see what others (and you) think.

The "problem" I have with the Extension Maker is the "Overwrite if older" setting. It can be really hard to work with (for me anyway!) For example in the BleazleWide installer I have had to use 3 different BasicHome xml files to give the User the choices I wanted to give. For this to work properly I have to save the files in the correct chronological order for the installer to work. Sounds easy, but if I decide to make a change to one file I then have to go back and make sure it hasn't mixed up the order the files should be saved in - this cost me a lot of time while putting the Installer file together because I kept making little changes to different XML and PNG files which had "options" assigned to them.

I can see why "Overwrite if older" is an important command but in the "Install/Edit Action" section of the Extension Maker it says "Install all files which have group checked" - which I assume means the files that are shown in the "Tree View Selector" section? and then it installs the selections a user has made in the "Image Radio Button" sections based on the "Overwrite if older" command? Would it be possible to also add a command which says "install if selected" to the Groups & Files section? That way if 2 options are offered in an "Image Radio Button" screen the installer will automatically install the option (group) which has been selected - that just seems a lot easier on the skin maker...

I don't know how any of this stuff works in the background so I could be asking for something which is impossible, or maybe isn't best practice (or it could just be a dumb idea!:oops:) but I wanted to ask the question anyway. I hope I've made sense.

Having finally created 2 MPE1 files I've got to say that this is a great addition to MP! Thanks for all of your hard work!

Bleazle
 

surfermc

Portal Pro
May 7, 2006
369
17
Dorset
Home Country
England England
Hi dukus

The "problem" I have with the Extension Maker is the "Overwrite if older" setting. It can be really hard to work with (for me anyway!) For example in the BleazleWide installer I have had to use 3 different BasicHome xml files to give the User the choices I wanted to give. For this to work properly I have to save the files in the correct chronological order for the installer to work. Sounds easy, but if I decide to make a change to one file I then have to go back and make sure it hasn't mixed up the order the files should be saved in - this cost me a lot of time while putting the Installer file together because I kept making little changes to different XML and PNG files which had "options" assigned to them.

Bleazle

One thing you could do would be to 'touch' the files or 'copy' to the same location using some sort of batch file to execute in the desired order.
Code:
copy /b Source+,,
Just a thought.
 

kroko

Portal Pro
February 4, 2007
428
420
55
Itzehoe
Home Country
Germany Germany
Hi dukus,

thanks to your new installer I have my first plugin online now. (hopefully)

Just some wishes:

-remember the last used directory on adding folder/files
-direct install / uninstall from the MpeMaker for testing
-there is a small bug: sometimes the tree on the left disappear (focus related I guess)

Is there already a Howto for doing setups ?

Regards
kroko
 

Attachments

  • treeMissing.jpg
    treeMissing.jpg
    126.4 KB

Dadeo

Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    Once I get this sorted I'll see if I have enough knowledge to be able to update the Wiki because it would make things a lot easier (and save time) for others if there were some step by step instructions to follow (IMHO)..

    Dave - an addition to the Wiki would be really appreciated. If you don't want to fiddle with our Wiki, just send me some text, or enter it in Wiki as plain text and I can format it for you. I think some instructions would go a long way to helping more developers use this great tool.

    Dukus - I have one more issue with using medium DPI - none of the dialog boxes adjust, so text/buttons are 'cut off'

    See the attached screenshot.

    It would be nice to add which file is downloading to the Downloading dialog too. Thanks.
     

    Bleazle

    Portal Pro
    July 14, 2007
    1,122
    257
    Pukekohe
    Home Country
    New Zealand New Zealand
    Once I get this sorted I'll see if I have enough knowledge to be able to update the Wiki because it would make things a lot easier (and save time) for others if there were some step by step instructions to follow (IMHO)..

    Dave - an addition to the Wiki would be really appreciated. If you don't want to fiddle with our Wiki, just send me some text, or enter it in Wiki as plain text and I can format it for you. I think some instructions would go a long way to helping more developers use this great tool.

    I was thinking of starting a new thread in this part of the forum initially so that others can easily comment on it and I can make the changes. Then once it's at a point where we are happy with it you could "Wiki" it? What do you think?
     

    Dadeo

    Docs Group Manager
  • Premium Supporter
  • November 26, 2006
    5,340
    3,321
    Himalayas, India
    Home Country
    Canada Canada
    Makes sense to me! TBH I find this whole MPEI forum a bit confusing now. Is it all about the new version? Some users post in the main forum, others here in extension installer v2. Where were you thinking to start the new thread Dave? What do you mean by "this part of the forum?" another sticky post? :p
     

    Users who are viewing this thread

    Top Bottom