|
-
May 12th, 2002, 09:54 AM
#1
Don't let that scare you. I'm a gentle person, just venting a bit. You can answer me.
Thank you.
-
May 12th, 2002, 12:41 PM
#2
Perhaps I'll have to post again... I really didn't mean to scare anyone.
-
May 12th, 2002, 01:34 PM
#3
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.
.
-
May 13th, 2002, 01:25 AM
#4
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?
-
May 13th, 2002, 01:31 AM
#5
Addicted Member
try using installshield? they have a nice way of packaging vb projects and finding dependencies-- etc
-
May 13th, 2002, 01:48 AM
#6
Hyperactive Member
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
-
May 13th, 2002, 02:00 AM
#7
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.
-
May 13th, 2002, 02:01 AM
#8
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.
-
May 13th, 2002, 02:08 AM
#9
Fanatic Member
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!
-
May 13th, 2002, 02:10 AM
#10
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?
-
May 13th, 2002, 02:15 AM
#11
Hyperactive Member
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
-
May 13th, 2002, 02:23 AM
#12
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?
-
May 13th, 2002, 02:24 AM
#13
Hey! No! wait a minute.
A package WITH mdac. but it has to detect if it already exists on the PC!!
-
May 13th, 2002, 03:01 AM
#14
Lively Member
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!
-
May 13th, 2002, 03:02 AM
#15
-
May 13th, 2002, 03:02 AM
#16
Wise as in the Wise Installation setup creator... and not wise as in gaining enlightenment.
-
May 13th, 2002, 03:18 AM
#17
Lively Member
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).
-
May 13th, 2002, 03:19 AM
#18
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.
.
-
May 13th, 2002, 03:22 AM
#19
OK! I'll go for the tutorial first, then for wise (sigh... another download lol)
Hoping for the best.
-
May 13th, 2002, 03:25 AM
#20
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.
-
May 13th, 2002, 03:34 AM
#21
Lively Member
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 !!!
-
May 13th, 2002, 03:43 AM
#22
I can crack it.
-
May 13th, 2002, 04:06 AM
#23
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|