ogx / Calculation2D

Extensible 2D image processing framework for C++
3 stars 0 forks source link

plugin wizard for VS 10.0 #30

Closed carasuca closed 12 years ago

carasuca commented 12 years ago

related issues #12, #26.

carasuca commented 12 years ago

@malleor @maczekmaczek @themoob need beta testers!

  1. Update to latest version (d411ded60411ead729409308e97b53cfd1b888dc),
  2. to install/uninstall wizard:
    • run Calculation2D/utils/C2DPluginWizardSetup.vbs,
  3. to use:
    • make sure you have a spare copy of the repo,
    • run VS 10.0, choose new 'C2DPlugin Project' from 'Visual C++'->'C2D'
    • provide name for the solution (uncheck create solution dir),
    • follow additional onscreen instructions,
  4. please post reproducible bugs - those may be tough to pin down.
maczekmaczek commented 12 years ago

OK, I'm on it. @carasuca I'm going to prepare a few slides on the project for tomorrow. I was thinking to add a tutorial about the download and installation. You think it's a good idea or you'd rather put that into the instruction?

maczekmaczek commented 12 years ago
  1. after successful installation/deinstallation of the wizard the vbs script asks again to uninstall/install the wizard. The last message box is unnecessary e. g.: Wizard not installed -> asks to install -> Wizard installed -> asks to uninstall (unnecessary) It does not ask after steps: Wizard installed -> asks to uninstall -> Wizard uninstalled -> asks to install (unnecessary) -> Wizard installed -> no further asking
  2. When trying to create a new project with the wizard operation failed, output: Project creation failed. I was trying create it as a new solution as well as add it to the C2DPlugins.sln which seems logical to me.
malleor commented 12 years ago

@maczekmaczek Let's put instructions in the Wiki and a copy in README.md. Tutorial is the way to go, I'd say.

maczekmaczek commented 12 years ago

I'll make a brief installation instruction at wiki for tomorrow. Later we'll be able to develop it.

carasuca commented 12 years ago

Ok, test the wizard again and I'll do the wiki. Debug messages are for you guys so you can tell me where the bugz at. Installation is two-part (one for the wizard, one for the templates), so try again:

Every part will:

all this twice in a row. To install:

a total of two Yes/No questions have to be answered correctly :)

maczekmaczek commented 12 years ago

I've just started to create a wiki. I will make just a simple task list. You can develop it if you like :]

carasuca commented 12 years ago

ok, making host repo for wiki pretty pictures.

malleor commented 12 years ago

I've tested the wizard. Installation succeeded for both project template and wizard. Project type was on it's place (snapshot), but project creation failed as status bar said.

Strange thing though - the installer created a strange subtree for our C2D group. The 1033 group has a wizard called root. Is it really intended? Is it necessary?

Create project dialog

carasuca commented 12 years ago

yep, that's because VS parses all the sub directories and finds a .vcxproj template. Will fix it.

carasuca commented 12 years ago

concerning the 'project creation failed' you can try this: assuming $(SolutionDir)='C:\Calculation2D' can you locate C:\Calculation2D\utils\C2DPluginWizard\C2DPluginWiz.vsz? using a text editor change:

Param="RELATIVE_PATH = VCWizards\C2D" to Param="ABSOLUTE_PATH = C:\Calculation2D\utils\C2DPluginWizard\C2DPluginWiz" (mutatis mutandis)

second guess would be to remove the signature block from the den of C2DPluginWizard\C2DPluginWiz\Scripts\1033\default.js

carasuca commented 12 years ago

should work now.