Results 1 to 7 of 7

Thread: Packaging Problem??

  1. #1

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Location
    New Delhi, India
    Posts
    18

    Angry

    Hi
    I'm stuck in a great problem.

    I've made a Tip of the day program and have made a skin feature. Users can switch between skins. By default I've given three skins. The format is:

    Application Directory
    ...Skins Directory
    ......Sun Warm (Name of skin 1)
    .........FILE:main.jpg (the background of the form)
    .........FILE:nextbtn.jpg (Next Button)
    .........FILE:exitbtn.jpg (Exit Button)
    .........FILE:skin.ini (SKIN COLORS INFORMATION FILE)
    This tree is same for other skins. and the filename is also the same in different folders. Now when I create the package of the program, i give files of first skin and then when I add the first file of second Skin it says: A file named 'main.jpg' has already been added. What should I do?

    Thanks in Advance
    Kazim Zaidi (the cracker)

  2. #2
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    How about suffixing the filenames

    main1.jpg
    main2.jpg

    DocZaf
    {;->

  3. #3

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Location
    New Delhi, India
    Posts
    18

    Smile Thanks

    Thanks for Answering....
    But how would you know the filename from VB?
    Kazim Zaidi (the cracker)

  4. #4
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    I think we may have crossed lines here....

    I understood that you have created a program and now that it is time to PACKAGE it for DISTRIBUTION, when you add a file main.jpg from one folder it is accepted and when you add another file from another folder but with the same filename it gives you the error you said.

    Have i understood you correctly?

    If yes then just rename the file and in the setup wizard change the filenames to what you want in whichever folder you want.

    Doc Zaf
    {;->

  5. #5

    Thread Starter
    Junior Member
    Join Date
    May 2000
    Location
    New Delhi, India
    Posts
    18

    Talking Big ThanX

    Thanks for understanding my problem exactly and giving a perfect solution. I will try....however...one more question...How can I distribute 4 programs in one setup:

    Tip Of The Day v1.0
    .....Tip Of The Day -> tip.vbp
    .....Skin Manager -> skinmng.vbp
    .....Skin Maker -> skinmkr.vbp
    .....Internet Update Program for Tips -> tipupdate.vbp

    I have made the exe files in one folder.
    The title program is Tip Of the Day v1.0

    Thanks in Advance.
    Kazim Zaidi (the cracker)

  6. #6
    Guest
    You can distribute 4 of them by placing all 4 of them in a setup file using Inno Setup, which is much better than the VB setup wizard.

    http://www.jrsoftware.org/

  7. #7
    Fanatic Member
    Join Date
    Jan 1999
    Location
    UK
    Posts
    554
    You can creat multiple setups by:

    Either using options buttons within your setup application.
    That means you use the setup app in the samples directory and customise it.

    Or

    You create your 4 setups applications so each one owrks fine on its own, then you create another setup which will execute the four, one after the other, or you could use a batch file.

    DocZaf
    {;->

    Have a look at the sample setup program,
    its well documented!

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