Results 1 to 14 of 14

Thread: [RESOLVED] deployment issue

  1. #1

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Resolved [RESOLVED] deployment issue

    I have a question.. My working directory is C:\Project

    I would like to deploy my program on client PC.

    1) How I can set this directory as a target directory during installation on client PC?

    2) I have set the directory C:\Project\Data on my working directory. How I can deploy my program to client PC so that It also create the directory (C:\Project\Data ) similar with my working directory?

    3) Is it the client need Microsoft Visual Basic to use my program if I do package and deployment?

  2. #2
    Banned randem's Avatar
    Join Date
    Oct 2002
    Location
    Maui, Hawaii
    Posts
    11,385

    Re: deployment issue

    1) Using what?

    2) Using what?

    3) You do not need VB on the client PC. You have to install properly.

  3. #3
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: deployment issue

    i did not find an option to select a custom directory other than listed few in the P & D Wizard.

    To set your default installtion location in the p & d wizard do the follwoing.

    * complte the s&D wizard with the default installation location i.e. programfiles directory on the destination pc.

    * after completing the p&d wizrd open your package folder.

    * opne the Setup.LST Script file with notepad.

    * scroll down to the section show below
    [Setup]
    Title=Project1

    * in this section alter the following line exactly shown below
    DefaultDir=C:\Project\Data
    Save it now.

    So this will install your package in the C:\Project\Data on the destination pc.

  4. #4

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: deployment issue

    May I know, What it mean?

    [Setup]
    Title=Project1

    My working directory is C:\Project but have sub folder in that folder..

    1 )How I can create the sub folder to be same with my working directory during installation on client PC ?

    2 ) Does I have create manually the sub folder on client PC?

    3) Can I customize the s&D wizard for example insert the picture or program overview so that during installation on client PC, I can see the program overview while installing the program.

  5. #5
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: deployment issue

    Did you find the Setup.LST File in the Package folder?

  6. #6

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: deployment issue

    Yes, I find It.

    What is purpose of this code?

    [Setup]
    Title=Project1

    Back to the question

    1 )How I can create the sub folder to be same with my working directory during installation on client PC ?

    2 ) Does I have create manually the sub folder on client PC?

    3) Can I customize the s&D wizard for example insert the picture or program overview so that during installation on client PC, I can see the program overview while installing the program.

  7. #7
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: deployment issue

    This is not a code. setup.LST is where your setup parameters have written.
    so you can edit it thourgh note pad.

  8. #8
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: deployment issue

    so you can edit the setup destination folder as well.

  9. #9

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: deployment issue

    Thank you.. Here is it.

    My working program is C:\Project.. I want the system install in C:\Project also on target PC, So I do like this

    Code:
    [Setup]
    Title=Shapefile Info
    DefaultDir=C:\Project
    AppExe=shpinfo.exe
    AppToUninstall=shpinfo.exe
    So the program will install in C:\Project folder on target Pc, Am I right?

    It is create other directory inside this folder (C:\Project) during installation? For Example DATA forlder, RAW Folder inside 'Project' folder on target Pc? This is because I have that folder in my working PC to run that program. So what should I do? Does I have to create the folder ('Data' and 'RAW' folder) manually inside C:\Project folder after installation the program on C:\Project?Can It create the sub folder ('Data' and 'RAW' folder) during installation?

  10. #10
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: deployment issue

    Your last question is clear matrik. Yes, now you need some subfolders inside c:\project.

    Hmm. i have no idea on how to create thease sub folders using P & D. i ll check it and if i found i will post here. may be others might help you !

  11. #11
    PowerPoster Fazi's Avatar
    Join Date
    Aug 2005
    Location
    Underworld
    Posts
    2,525

    Re: deployment issue

    remember, you can also create thease sub folders programatilly inside c:\project at the first run of your program since you already created the base c:\project using the P & D.

  12. #12

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: deployment issue

    Nevermind, Maybe Somebody can help me, How I can create the sub folder instead of installing the package on the destination pc folder using Package and deploymend wizard..

    So my program can Install on that folder, This work fine to me.. But I don't know, How I can create subfolder inside the Project folder during installation on target Machine..Otherwise, I have to create the subfolder manually inside my Project folder Hopes to get helps, I am still learning.

    Code:
    [Setup]
    Title=Shapefile Info
    DefaultDir=C:\Project
    AppExe=shpinfo.exe
    AppToUninstall=shpinfo.exe

  13. #13
    I'm about to be a PowerPoster! Hack's Avatar
    Join Date
    Aug 2001
    Location
    Searching for mendhak
    Posts
    58,333

    Re: deployment issue

    Moved to Application Deployment

  14. #14

    Thread Starter
    Frenzied Member
    Join Date
    Feb 2007
    Location
    Malaysia
    Posts
    1,370

    Re: deployment issue

    I have sub folder in C:\Project in my working machine.

    It is possible during package and deployment to create sub folder inside the Project folder? If yes, how to create the sub folder inside the Project folder during installation program on client Machine,

    It is similiar with zip file?Where it reserve the data folder and sub folder to be same on on working machine in client machine.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width