Results 1 to 23 of 23

Thread: Package and Deployment Question

  1. #1

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Don't let that scare you. I'm a gentle person, just venting a bit. You can answer me.

    Thank you.

  2. #2

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Perhaps I'll have to post again... I really didn't mean to scare anyone.

  3. #3
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ...

    You can do some R&D with both the PDW and the MDAC. You can check out which registry entries are modified by MDAC so you can determine if it's installed, and if so which version.

    Then you can modify PDW and add code to check for MDAC installation, and bypass the Data Access installation routine if you find an up to date version of MDAC.

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

  4. #4

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Well ...

    Originally posted by honeybee
    You can do some R&D with both the PDW and the MDAC. You can check out which registry entries are modified by MDAC so you can determine if it's installed, and if so which version.

    Then you can modify PDW and add code to check for MDAC installation, and bypass the Data Access installation routine if you find an up to date version of MDAC.

    .
    Thank you for all that jibberish.

    But I don't know how to do that. So that's what I wanted help with. How am I going to "add code" to my setup? Is it in the setup.bat file in the support folder that gets created? How?

  5. #5
    Addicted Member MegaMan's Avatar
    Join Date
    May 2002
    Posts
    128
    try using installshield? they have a nice way of packaging vb projects and finding dependencies-- etc

  6. #6
    Hyperactive Member Dinz's Avatar
    Join Date
    Jan 2002
    Posts
    359

    Re: Package and Deployment Question

    Originally posted by mendhak

    What if the client machine has mdac installed ALREADY? Is there anyway to "detect" it
    tell me one thing, the reason u siting is ur setup.cab is jumping from 7.4 MB to 12 MB if u include mdac....right.....

    but even if u able to detect whether mdac is already in client machine, still u have to include mdac into package b'ocz the conditoin u will be giving is if the client machine doesnt have mdac "install mdac" otherwise "do not install mdac"......so in either case u need to include mdac in ur package.........so whats the ****ing problem.....
    !!!NobodyisPerfect......IamNOBODY!!!
    How's your wife and my kids?.....

    Never argue with an idiot. They drag you down to their level then beat you with experience!

    Child says : Mummy mummy, can i play with grandpa ?
    Mum says : NO, you have already dug him up twice.

    Galahtec The VB Forum

  7. #7

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by MegaMan
    try using installshield? they have a nice way of packaging vb projects and finding dependencies-- etc
    No more downloads, thank you. 30MB is more than I can handle.

  8. #8

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170

    Re: Re: Package and Deployment Question

    Originally posted by Dinz


    tell me one thing, the reason u siting is ur setup.cab is jumping from 7.4 MB to 12 MB if u include mdac....right.....

    but even if u able to detect whether mdac is already in client machine, still u have to include mdac into package b'ocz the conditoin u will be giving is if the client machine doesnt have mdac "install mdac" otherwise "do not install mdac"......so in either case u need to include mdac in ur package.........so whats the ****ing problem.....
    DUHHHHHH.

    Time. In this particular case, time is of the essence.

  9. #9
    Fanatic Member skald2k's Avatar
    Join Date
    Feb 2002
    Location
    Sydney, Australia
    Posts
    535
    Whilst its a ****ty workaround, can you not just install MDAC regardless of whether it has been installed already?
    - If at first you dont succeed, then give up, cause you will never will!

  10. #10

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by skald2k
    Whilst its a ****ty workaround, can you not just install MDAC regardless of whether it has been installed already?
    Actually, that IS what happens. Everytime I install, MDAC gets installed as well.

    Hey, that's ok! But this is a bizarre case. My boss doesn't want MDAC installed if it already exists. Why, you ask? I don't know. Those are the orders.

    Sucks, eh? What can be edited in the setup package?

  11. #11
    Hyperactive Member Dinz's Avatar
    Join Date
    Jan 2002
    Posts
    359
    no intention to irritate u or goin against ur boss........but tell me one thing what if client machine doesn have MDAC........that means u have to create two set up packages one with MDAC (for clients not having mdac) and the second with out MDAC..........

    uhhh.....aching......
    !!!NobodyisPerfect......IamNOBODY!!!
    How's your wife and my kids?.....

    Never argue with an idiot. They drag you down to their level then beat you with experience!

    Child says : Mummy mummy, can i play with grandpa ?
    Mum says : NO, you have already dug him up twice.

    Galahtec The VB Forum

  12. #12

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Originally posted by Dinz
    no intention to irritate u or goin against ur boss........but tell me one thing what if client machine doesn have MDAC........that means u have to create two set up packages one with MDAC (for clients not having mdac) and the second with out MDAC..........

    uhhh.....aching......
    Can you feel my pain?

  13. #13

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Hey! No! wait a minute.

    A package WITH mdac. but it has to detect if it already exists on the PC!!

  14. #14
    Lively Member
    Join Date
    Mar 2002
    Location
    S.A
    Posts
    89
    Just a suggestion.

    What we did was :

    Create a setup script with Wise. In the code determine if MDAC was installed. If it was NOT installed run the MDAC.exe setup (on the CD) in silent mode (i think /s) from your setup file.

    Else if it was not installed the script wouldn't run the setup.

    Good luck!
    I forgot my password....

  15. #15

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Where can I get wise?

  16. #16

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    Wise as in the Wise Installation setup creator... and not wise as in gaining enlightenment.

  17. #17
    Lively Member
    Join Date
    Mar 2002
    Location
    S.A
    Posts
    89
    Originally posted by mendhak
    Wise as in the Wise Installation setup creator... and not wise as in gaining enlightenment.
    Wise is very powerfull. You can do allot of stuff with it.

    Wise

    Good luck ! I see it is a new version... but is easy to use! (There is a trial version, we bought it years ago at the old company).
    I forgot my password....

  18. #18
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ...

    Originally posted by mendhak


    Thank you for all that jibberish.

    But I don't know how to do that. So that's what I wanted help with. How am I going to "add code" to my setup? Is it in the setup.bat file in the support folder that gets created? How?
    Go through Dax Pandhi's tutorial on VB World for customizing setups.

    The main file which does the installation is the Setup1.exe. This is a VB app for which the source code is available under the VB98/Wizards/PDW or some such location ...

    FYKI, I modified ours so it smartly detectsif our app is already installed, and then performs only an update of the required files.

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

  19. #19

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    OK! I'll go for the tutorial first, then for wise (sigh... another download lol)

    Hoping for the best.

  20. #20

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    I just had to come back and say... the authors at vbworld have a really cheesy sense of humor. I can't believe some people actually find it funny.

  21. #21
    Lively Member
    Join Date
    Mar 2002
    Location
    S.A
    Posts
    89
    Yip is another download, but it was a breeze working with Wise.

    You can create / edit your screens (setup screen) any way you like. It's easy customizable etc. It was a allot easier than Package wizard. (but it cost money ). But it also look ALLOT more proffesional.

    But the choice is yours. I can't remeber it being that big for a download !!!
    I forgot my password....

  22. #22

    Thread Starter
    I'm about to be a PowerPoster! mendhak's Avatar
    Join Date
    Feb 2002
    Location
    Ulaan Baator GooGoo: Frog
    Posts
    38,170
    I can crack it.

  23. #23
    Randalf the Red honeybee's Avatar
    Join Date
    Jun 2000
    Location
    off others' brains
    Posts
    4,345

    Well ...

    Originally posted by mendhak
    I can crack it.
    My PM link is right below my post!!!

    My boss tells me to get another installer just because PDW shows a screen at startup that reads, Copying files, please wait. He doesn't want this "copying files" and then the "removing files" messages.

    .
    I am not a complete idiot. Some parts are still missing.
    Check out the rtf-help tutorial
    General VB Faq Thread
    Change is the only constant thing. I have not changed my signature in a long while and now it has started to stink!
    Get more power for your floppy disks. ; View honeybee's Elite Club:
    Use meaningfull thread titles. And add "[Resolved]" in the thread title when you have got a satisfactory response.
    And if that response was mine, please think about giving me a rep. I like to collect them!

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