Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. sponsors. rss.
 From: newbie newbie
  Where is newbie newbie?
 jakarta
 Indonesia
 newbie newbie
 To: Anders Altberg
  Where is Anders Altberg?
 Uppsala
 Sweden
 Anders Altberg
 Tags
Subject: RE: creating setup disk with innosetup
Thread ID: 232434 Message ID: 232520 # Views: 33 # Ratings: 0
Version: Visual FoxPro 7 Category: Distribution and InstallShield
Date: Wednesday, June 24, 2009 5:07:15 AM         
   


> > Hi all,
> > I'm trying to create a setup using inno setup, but every time i try to execute, there will be an error: File does not exist, if i select ignore then the error message will be Locate Database : Error instantiating cursor object. cannot find d:\...\data.dbc, i just know to create setup disk using innosetup i dont have to include the dbc,dbf just the exe file.
> > . actually, how can i create the exe file with inno setup?
> >
> >
> > main.prg
> >
> >
> > set default to sys(5)+sys(2003)
> > open database data.dbc
> > 

> >
> > thanks in advance
>
> SYS(5) = default drive
> SYS(2003) = current directory
>
> Fine for checking where the heck you are at, but not for SETTING default driver and directory.
> It's saying SET DEFAULT TO default
>
> Try this in the startup code of you application exe:
>
SET DEFAULT TO JUSTPATH(_VFP.Fullname) && = wherever your exe is installed.
> SET PATH TO Data, Reports, Icons, ... 

> or run ADIR() and pick up the names of the folders that are actually there.
> -Anders

it seeems that i have to input all files into the setup directory and using syntax set path to...
Thanks in advance



COMPLETE THREAD
creating setup disk with innosetup Posted by newbie newbie @ 6/23/2009 9:21:35 AM
RE: creating setup disk with innosetup Posted by Yousfi Benameur @ 6/23/2009 12:39:05 PM
RE: creating setup disk with innosetup Posted by Anders Altberg @ 6/23/2009 2:24:12 PM
RE: creating setup disk with innosetup Posted by newbie newbie @ 6/24/2009 5:07:15 AM
RE: creating setup disk with innosetup Posted by Anders Altberg @ 6/24/2009 10:41:33 AM