Home All Groups Group Topic Archive Search About
Author
28 May 2005 9:22 PM
Jim Richards
Hello. I finally got the Package/Deploument Wizard to work (I thought) but
when I install the application on my other PC and run it, I get error: 'Path
not found 'C:\Program Files\TexasCounties\Images\Bluebonnet.jpg'. I thought
the Wizard was supposed to take care of all this and that the app would find
the necessary image files. What am I doing wrong please? TIA, Jim.

Author
28 May 2005 9:36 PM
JoeO
Depends how you referenced the jpg file in your app. I suspect you might
have referenced the full path in path your app. In that case minor typo can
cause error. Using App.Path is much better. And Also be sure you included
the jpg file in the setup package and that you rightly instructed the dumb
setup wizard to deploy the jpg file to App.Path.


Show quoteHide quote
"Jim Richards" <JWRicha***@satx.rr.com> wrote in message
news:li5me.6837$j51.2221@tornado.texas.rr.com...
> Hello. I finally got the Package/Deploument Wizard to work (I thought) but
> when I install the application on my other PC and run it, I get error:
'Path
> not found 'C:\Program Files\TexasCounties\Images\Bluebonnet.jpg'. I
thought
> the Wizard was supposed to take care of all this and that the app would
find
> the necessary image files. What am I doing wrong please? TIA, Jim.
>
>
Are all your drivers up to date? click for free checkup

Author
28 May 2005 10:22 PM
Jim Richards
Thanks JoeO. I used the App.Path & "\Images\Blubonnet.jpg" so that my
program could run from any directory. Now, How do I be sure and include all
the images (there are 24 of them and I load them into an Array Of StdPicture
in the setup package and how do I rightly instruct the dumb setup wizard to
deploy the jpg file to App.Path? I have never done this before so I am kinda
lost here. It has taken me 2 years to get my application ready to
distribute. Thanks for your help. Jim.

Show quoteHide quote
"JoeO" <jp3bless_NoSpam@hotmail.com> wrote in message
news:%231RvE18YFHA.3132@TK2MSFTNGP09.phx.gbl...
> Depends how you referenced the jpg file in your app. I suspect you might
> have referenced the full path in path your app. In that case minor typo
> can
> cause error. Using App.Path is much better. And Also be sure you included
> the jpg file in the setup package and that you rightly instructed the dumb
> setup wizard to deploy the jpg file to App.Path.
>
>
> "Jim Richards" <JWRicha***@satx.rr.com> wrote in message
> news:li5me.6837$j51.2221@tornado.texas.rr.com...
>> Hello. I finally got the Package/Deploument Wizard to work (I thought)
>> but
>> when I install the application on my other PC and run it, I get error:
> 'Path
>> not found 'C:\Program Files\TexasCounties\Images\Bluebonnet.jpg'. I
> thought
>> the Wizard was supposed to take care of all this and that the app would
> find
>> the necessary image files. What am I doing wrong please? TIA, Jim.
>>
>>
>
>
Author
28 May 2005 11:14 PM
JoeO
When deploying app, the wizard will at some point ask you to select "other
files" you wish to include in the setup package. Click the File button on
the "other File" window... Usually the dialog box defaults to EXE file type.
Change the file type to All Files and then navigate to your jpg files. Since
there are twenty of them you will have to do the file selection 24 times. By
the way I don't want to scare you, but if you are planning to
mass-distribute your app, the PDW may not the best option. Except of course
you know how to tweak the wizard. You don't want the wizard to ask your app
users 50 questions about "which version of file to keep" during
installation. You may want to have a look at  Innosetup. It is free and the
learning curve is not too steep.
http://www.jrsoftware.org/isdl.php

There is also Windows Installer



Show quoteHide quote
"Jim Richards" <JWRicha***@satx.rr.com> wrote in message
news:Na6me.14968$6g3.4662@tornado.texas.rr.com...
> Thanks JoeO. I used the App.Path & "\Images\Blubonnet.jpg" so that my
> program could run from any directory. Now, How do I be sure and include
all
> the images (there are 24 of them and I load them into an Array Of
StdPicture
> in the setup package and how do I rightly instruct the dumb setup wizard
to
> deploy the jpg file to App.Path? I have never done this before so I am
kinda
> lost here. It has taken me 2 years to get my application ready to
> distribute. Thanks for your help. Jim.
>
> "JoeO" <jp3bless_NoSpam@hotmail.com> wrote in message
> news:%231RvE18YFHA.3132@TK2MSFTNGP09.phx.gbl...
> > Depends how you referenced the jpg file in your app. I suspect you might
> > have referenced the full path in path your app. In that case minor typo
> > can
> > cause error. Using App.Path is much better. And Also be sure you
included
> > the jpg file in the setup package and that you rightly instructed the
dumb
> > setup wizard to deploy the jpg file to App.Path.
> >
> >
> > "Jim Richards" <JWRicha***@satx.rr.com> wrote in message
> > news:li5me.6837$j51.2221@tornado.texas.rr.com...
> >> Hello. I finally got the Package/Deploument Wizard to work (I thought)
> >> but
> >> when I install the application on my other PC and run it, I get error:
> > 'Path
> >> not found 'C:\Program Files\TexasCounties\Images\Bluebonnet.jpg'. I
> > thought
> >> the Wizard was supposed to take care of all this and that the app would
> > find
> >> the necessary image files. What am I doing wrong please? TIA, Jim.
> >>
> >>
> >
> >
>
>
Author
29 May 2005 12:23 AM
AGP
Dump the lame P&D wizard. Use a better installer like the freeware InnoSetup
at www.innosetup.com
AGP

Show quoteHide quote
"Jim Richards" <JWRicha***@satx.rr.com> wrote in message
news:Na6me.14968$6g3.4662@tornado.texas.rr.com...
> Thanks JoeO. I used the App.Path & "\Images\Blubonnet.jpg" so that my
> program could run from any directory. Now, How do I be sure and include
all
> the images (there are 24 of them and I load them into an Array Of
StdPicture
> in the setup package and how do I rightly instruct the dumb setup wizard
to
> deploy the jpg file to App.Path? I have never done this before so I am
kinda
> lost here. It has taken me 2 years to get my application ready to
> distribute. Thanks for your help. Jim.
>
> "JoeO" <jp3bless_NoSpam@hotmail.com> wrote in message
> news:%231RvE18YFHA.3132@TK2MSFTNGP09.phx.gbl...
> > Depends how you referenced the jpg file in your app. I suspect you might
> > have referenced the full path in path your app. In that case minor typo
> > can
> > cause error. Using App.Path is much better. And Also be sure you
included
> > the jpg file in the setup package and that you rightly instructed the
dumb
> > setup wizard to deploy the jpg file to App.Path.
> >
> >
> > "Jim Richards" <JWRicha***@satx.rr.com> wrote in message
> > news:li5me.6837$j51.2221@tornado.texas.rr.com...
> >> Hello. I finally got the Package/Deploument Wizard to work (I thought)
> >> but
> >> when I install the application on my other PC and run it, I get error:
> > 'Path
> >> not found 'C:\Program Files\TexasCounties\Images\Bluebonnet.jpg'. I
> > thought
> >> the Wizard was supposed to take care of all this and that the app would
> > find
> >> the necessary image files. What am I doing wrong please? TIA, Jim.
> >>
> >>
> >
> >
>
>
Author
31 May 2005 8:33 AM
Jan Hyde
"Jim Richards" <JWRicha***@satx.rr.com>'s wild thoughts were
released on Sat, 28 May 2005 21:22:25 GMT bearing the
following fruit:

>Hello. I finally got the Package/Deploument Wizard to work (I thought) but
>when I install the application on my other PC and run it, I get error: 'Path
>not found 'C:\Program Files\TexasCounties\Images\Bluebonnet.jpg'. I thought
>the Wizard was supposed to take care of all this and that the app would find
>the necessary image files. What am I doing wrong please? TIA, Jim.
>

Just to be clear, it definitely the P&DW giving this error?
Or it is you application that is giving the error?

The P&DW gets all it's files from the cab file and certainly
wouldn't be looking in the path you mention.






Jan Hyde (VB MVP)

--
'Every man has his price.  Mine is $3.95.'

[Abolish the TV Licence - http://www.tvlicensing.biz/]

Bookmark and Share