Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Install Program??

Status
Not open for further replies.

bluedollar

Programmer
Jul 24, 2003
174
GB
I want to create an install file for Access 2000. I want the install file to:

1) create a directory on the users C: drive
2) copy the mdb file to this directory
3) create a shortcut to the mdb on the users desktop
4) create an link to the mdb in the users start > program files

I also want the install to look "professional". I have looked through the faq`s and past threads, and keep on finding reference to the Office development kit to acheive the above. I do not have a copy of this, but the company will purchase one if needed.

Do I have to use the Office Development Kit, or is there another way to acheive the above.

Any help would be greatly appreciated.

Thanks

Dan
 
I use the '.bat' file below to install/update the file CARC.mdb. It first checks to see if the file CARC.mdb exists. If not then it checks for the directory and creates it if not present and copy files and short cut from a network folder.

If the file it present then it deletes it and copies updated file and short cuts.



echo off


if exist d:\AC\CARC.mdb goto update
echo Installing CMIS3 Version 3.4 ...
if not exist d:\Ac md d:\Ac
d:
cd \Ac
copy \\mostlbfnp1\groups$\AC\CARC.MDB
copy \\mostlbfnp1\groups$\AC\Install\CMIS3.lnk
cd \Documents and Settings
cd All Users
cd Desktop
copy \\mostlbfnp1\groups$\AC\install\CMIS3.lnk
echo CMIS3 Version 3.4 Installed!
goto end


:update
echo Updating to CMIS 3 Version 3.4 ...
d:
cd\Ac
if exist carc.mdb del carc.mdb
if not exist cmis3.lnk copy \\mostlbfnp1\groups$\ac\cmis3.lnk
copy \\mostlbfnp1\groups$\ac\carc.mdb
cd \Documents and Settings
cd All Users
cd Desktop
copy \\mostlbfnp1\groups$\AC\Install\CMIS3.lnk
echo CMIS3 Version 3.4 Installed!

:end
Pause
 
Self-extracting WinZip file is the answer, providing the user already has MS Access.

Ed Metcalfe.

Please do not feed the trolls.....
 
Thanks for the help.

Found a program called inno setup in the end. Got it from download.com, pretty good and free as well.

Thanks

Dan
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top