Welcome To The Home Of The Visual FoxPro Experts  
home. signup. forum. archives. search. google. articles. downloads. faq. members. weblogs. file info. rss.
 From: Ammar Hadi
  Where is Ammar Hadi?
 Al-Samawah
 Iraq
 Ammar Hadi
 To: Rog
  Where is Rog?
 Lawrence
 Kansas - United States
 Rog
 Tags
Subject: RE: Writing MSI for Install to different Dir
Thread ID: 226264 Message ID: 228773 # Views: 1 # Ratings: 0
Version: Visual FoxPro 9 SP2 Category: Distribution and InstallShield
Date: Thursday, May 21, 2009 2:07:09 PM         
   


> >
> > Hi Rog,
> >
> > I think you can do that with install shield (limited version) this way:
> >
> > 1) In Organize Your setup -> General Information: INSTALLDIR choose the destination folder of your application to any predefined folder.
> > 2) In Files section: add all your files that you want to put in the destination folder . And Add to that folder also all the required dlls and vfp runtime files and if installshield told you that these dlls are available as merge modules that can be added to the installation select NO so that it will not be added as merge modules since these merge modules will install the dlls into the locked microsoft shared folder. By saying NO, these dlls will be installed in the destination directory (select the same dir that for your exe)
> > 3) In the Redistributables section: deselect any merge module since you added the necessory dlls and ocx files in step 2.
> > 4)In Dialogs section: select Destination Folder and in Show Change Destination select YES.
> >
> > This way, you will be asked to select the destination folder whatever the predefined directory you selected as INSTALLDIR. And all application parts are installed there.
> >
> > You may need to refine other parameters in installshield but I think the above is the basic Idea to solve your problem.
> >
> > Hope this will help
> >
> > Yours,
> > Ammar................IRAQ
> > ---------------
> > I I I realy love foxite
> > ___________________________
>
>
> Well, I'm not having success. After installation, when I try to run it, nothing happens. So, I installed Virtual PC and gave it a try, and same thing. But it did tell me the program would not run because MSVCR71.dll did not exist. So I added that, and now it doesn't run, and no messages.
>
> I did add the 3 redistributable files as you suggested. Those were VFP_GDIPlus.msm, VC_USER_CRT71_RTL_X86_---.MSM, and VFP9Runtime.msm.
>
> Any suggestions on what else I am missing?
>
> [EDIT]
> I got the bright idea of looking for runtime files via the Foxpro help ;-)
>
> So I added those files, and when I build the app in InstallShield, I get this warning:
>
> ISEXP : warning -4354: The build was unable to extract COM information from the file ...... 9\program files\common files\microsoft shared\vfp\vfp9t.dll in component vfp9t.dll.
>
> Maybe I'm making progress, but not sure about what to do related to this warning. It does run on the virtual PC, but I'm not sure if there will be issues related to ignoring that warning.
>
>
>
> Rog

Hi Rog,

If you got such problem .. remove vfp9t.dll from your files and as far as vfp runtime libraries are included in the dependencies section, vfp9t.dll will be installed automatically since it is part of the vfp runtime modules. see the picture below:



you will succeed .. :-)

Ammar Hadi ................IRAQ

My Foxite Weblog

---------------
I I I really love foxite
___________________________

ENTIRE THREAD

Writing MSI for Install to different Dir Posted by Rog @ 4/29/2009 5:53:51 PM
RE: Writing MSI for Install to different Dir Posted by Ammar Hadi @ 4/29/2009 7:59:40 PM
RE: Writing MSI for Install to different Dir Posted by Rog @ 5/11/2009 11:14:21 PM
RE: Writing MSI for Install to different Dir Posted by Ammar Hadi @ 5/11/2009 11:38:08 PM
RE: Writing MSI for Install to different Dir Posted by Rog @ 5/21/2009 12:38:17 PM
RE: Writing MSI for Install to different Dir Posted by Ammar Hadi @ 5/21/2009 2:07:09 PM
RE: Writing MSI for Install to different Dir Posted by Rog @ 5/21/2009 2:43:54 PM
RE: Writing MSI for Install to different Dir Posted by Ammar Hadi @ 5/21/2009 8:03:16 PM
RE: Writing MSI for Install to different Dir Posted by Rog @ 5/22/2009 4:23:15 AM
RE: Writing MSI for Install to different Dir Posted by Ammar Hadi @ 5/22/2009 7:21:21 AM
RE: Writing MSI for Install to different Dir Posted by Rog @ 6/8/2009 10:11:49 PM
RE: Writing MSI for Install to different Dir Posted by Ammar Hadi @ 6/9/2009 5:42:29 PM
RE: Writing MSI for Install to different Dir Posted by Rog @ 6/17/2009 4:56:40 AM