Computing.Net > Forums > Programming > how to write an installation program

Computing.Net: Over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to sign up now, it's free!

how to write an installation program

Reply to Message Icon

Original Message
Name: yu
Date: April 2, 2002 at 16:14:46 Pacific
Subject: how to write an installation program
Comment:

hi everybody,

we finished a large java program as a term project. we are going to demo it under win98. now we need a installation program, which can do the following things:
1. create a directory in C:
2. copy files from diskettes to C:, which includes the executable program to install java platform to the windows and the classes of our program.
3. create a program group
4. create an icon within the group and associate it to our program
we were thinking of writing a .bat file to achieve these, but don't know how. is there anybody have any ideas how to do it? thanks in advance.

yu


Report Offensive Message For Removal


Response Number 1
Name: bill 2
Date: April 2, 2002 at 18:20:10 Pacific
Reply:

Why not do as you said but instead of creating a program group just create a shortcut to the executable on the desktop?

You could change the shortcut properties to
get the right window size etc


Report Offensive Follow Up For Removal

Response Number 2
Name: ko_bloodlord
Date: April 2, 2002 at 20:37:56 Pacific
Reply:

why not use InstallShield for Microsoft Visual C++ 6 i think you can find a demo somewhere i use visual studio 6 to do all my work
you can also make a batch file to do it do, but i prefer installshield it gives a more proffessional appearance


Report Offensive Follow Up For Removal

Response Number 3
Name: Dan
Date: April 4, 2002 at 00:44:18 Pacific
Reply:

you could make a .bat file. just use the 'copy' command. i am not sure how to assosiate an icon w/ it though.

btw, if they dont use C: as the default, i recommend using %HOMEDRIVE% (ie: copy *.* %HOMEDRIVE%\ProgramName\)


Report Offensive Follow Up For Removal







Post Locked

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.


Go to Programming Forum Home



Results for: how to write an installation program

How to read an c exe without source code
    Summary: Dear Sir/Madam, I would like to know about how to read an exe file without source code.May i able to interpret the exe file.Actually i want to make a call to specific function...
www.computing.net/answers/programming/how-to-read-an-c-exe-without-source-code/2891.html

How to write a C++ Program
    Summary: I am trying to learn C++, I was given this program to write out. I will type this exactly what was given to me: "Write a program to read a student's school id number, his old GPA(grade point average)...
www.computing.net/answers/programming/how-to-write-a-c-program/3462.html

how to write CD-ROM/DVD/CD
    Summary: This post is kinda confusing. Do you mean to ask how to write a device driver for a CD/DVD drive? (the confusion comes mainly from the last line "How exactly it works ?", since if you are going to w...
www.computing.net/answers/programming/how-to-write-cdromdvdcd/11956.html








Which MP3 player do you have?

iPod/iPhone
Zune
Something Else
None


View Results

Poll Finishes In 2 Days.
Discuss in The Lounge
Poll History






Data Recovery Software