Welcome Guest! You need to login or register to make posts.

Notification

Icon
Error

Options
Go to last post Go to first unread
Fedor  
#1 Posted : Saturday, March 20, 2004 6:00:00 AM(UTC)
Fedor

Rank: Advanced Member

Groups: Member, Administration, Moderator
Joined: 7/28/2003(UTC)
Posts: 1,660

Thanks: 5 times
Was thanked: 76 time(s) in 74 post(s)
Overview

When you create an application that uses Graphics Mill, you may get some problems with installing it into another machine.

To make installation easier there are a lot of install tools. In particular, VB6 is shipped with addin known as Package and Deployment Wizard (PDW) that provides simple way to create installator for your application.

PDW is often blamed for being too basic and having too few features. In general it is recommended to use more advanced install utilities, like Inno Setup (free open source install utility) or some commercial one. However PDW is available at all machines where VB6 is installed, and it is quite easy to use.

So if you choose PDW as an install utility, follow the steps below. It is assumed that you know how to run PDW.

Steps

  1. Run PDW.

  2. Click "Package" button. Wizard appears.

  3. On the first page select "Standard Setup Package". Click "Next".

  4. Select necessary folder. Click "Next".

  5. Check all the Graphics Mill dlls (as well as others you depend on). Click click Ok, then "Next".

  6. Add GraphicsMill20BaseCodecs.dll using "Add" button. Click "Next".

  7. Select "Single Cab". Click "Next".

  8. Specify installation title, and then click "Next".

  9. Select program group. Click "Next".

  10. Now the most important part. On this page you specify the destination paths for files you deploy. There is a small trick - to change destination paths, you need to scroll the file list (the folder drop-down lists are out of the screen, see screenshot). By default the application itself is installed into ($AppPath) folder, all other files - into ($WinSysPath).

    UserPostedImage

    On step 10 you need to scroll the list horizontally to edit install location.

    Make the following chages:

    * GraphicsMill20.dll -> ($AppPath)

    * GraphicsMill20BaseCodecs.dll -> ($AppPath)\GraphicsMill20Codecs

    * All other Graphics Mill files put to ($AppPath).

    It is highly recommended to put it to the application folder to prevent possible "dll hell" problem (which can occur if someone will deploy another application using Graphics Mill).

  11. On the next page you will be prompted to check files marked as shared. You may clear it from Graphics Mill dlls (as you put it to the app folder, you exclude a chance to overwrite your files with another application installator).

  12. Finish.

Wizard will generate several files including setup.exe. To test if everything is ok, just run it and take a look where does it save the Graphics Mill files.

Best regards,

Fedor Skvortsov

Users browsing this topic
Guest
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.