Jump to content
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble
Strawberry Orange Banana Lime Leaf Slate Sky Blueberry Grape Watermelon Chocolate Marble

MSFN is made available via donations, subscriptions and advertising revenue. The use of ad-blocking software hurts the site. Please disable ad-blocking software or set an exception for MSFN. Alternatively, register and become a site sponsor/subscriber and ads will be disabled automatically. 


Sign in to follow this  
ayhopkins

Installing Applications Without Installer

Recommended Posts

I couldn't find out how to do this while searching the forum. I am new at this and it might be pretty obvious. I have some utility applications which came in a zip file. There is no installer just the files.

How would I install this? Or do I have to create an installer package. Is there a recommendation for a very very easy one for me to use.

Thank you.

Share this post


Link to post
Share on other sites

I figured out a simple method of doing this finally. I extracted the files into a directory, but I still needed to create a shortcut link on the commandline. This function is unavailable in XP, but is available through another great free third party application XXMKLINK - they also had some other useful utilities so I installed them as well.

http://www.xxcopy.com/xxcopy38.htm

http://www.xxcopy.com/index.htm

cmdow @ /HID

ECHO.
ECHO Installing CpuZ
ECHO Please wait...
MD "C:\Winutil\CpuZ"
COPY /Y "%systemdrive%\install\cpuz\*.*" "C:\Winutil\CpuZ"
XXMKLINK "%AllUsersProfile%\Start Menu\Utilities\CpuZ" "C:\Winutil\CpuZ\cpuz.exe"

EXIT

Share this post


Link to post
Share on other sites

i make a winzip sfx archive that installs silently to a set location, then i use the cab-method with the 7-zip installer to install it...

Share this post


Link to post
Share on other sites

well u could try inno setup (google it!) its very easy to use and its free...u could try nullsoft...but once u create the installer wirh nullsoft u can extract and find out what the script is?

Share this post


Link to post
Share on other sites

I use winrar and make a sfx archive and add this to comments

Path=.\%programfiles%\MyProgram

SavePath

Silent=1

Overwrite=2

Shortcut=P, MyEXE, DestFolder, "Description", "ShortcutName"

Shortcut=<DestType>,<SrcName>,<DestFolder>,<Description>,<ShortcutName>

Create a shortcut to unpacked file.

DestType is one character wide field, which can have the following values:

D Create a shortcut on Desktop

S Create a shortcut in Start Menu

P Create a shortcut in Start Menu/Programs

T Create a shortcut in Startup folder

SrcName is a name of archived file.

DestFolder is a folder to create a shortcut in. If it does not exist, it will be created by SFX archive.

Description is a text string describing a shortcut.

ShortcutName is a name of .lnk (shortcut) file created by SFX.

Share this post


Link to post
Share on other sites
cmdow @ /HID

ECHO.
ECHO Installing CpuZ
ECHO Please wait...
MD "C:\Winutil\CpuZ"
COPY /Y "%systemdrive%\install\cpuz\*.*" "C:\Winutil\CpuZ"
XXMKLINK "%AllUsersProfile%\Start Menu\Utilities\CpuZ" "C:\Winutil\CpuZ\cpuz.exe"

EXIT

I take it that the %systemdrive% equates to the cdrom? Then theorically I can place any software on the cd then copy it to the hd using the following code:

COPY /Y "%systemdrive%\software\install\*.*" "c:\software\install"

I just noticed the quotes around each one of the command options. Is this required?

Share this post


Link to post
Share on other sites

%systemdrive% is c:\ but I believe there are other parameters you can use.

Yes I believe the quotes are required.

The winrar looks good too.

cmdow @ /HID

ECHO.
ECHO Installing CpuZ
ECHO Please wait...
MD "C:\Winutil\CpuZ"
COPY /Y "%systemdrive%\install\cpuz\*.*" "C:\Winutil\CpuZ"
XXMKLINK "%AllUsersProfile%\Start Menu\Utilities\CpuZ" "C:\Winutil\CpuZ\cpuz.exe"

EXIT

I take it that the %systemdrive% equates to the cdrom? Then theorically I can place any software on the cd then copy it to the hd using the following code:

COPY /Y "%systemdrive%\software\install\*.*" "c:\software\install"

I just noticed the quotes around each one of the command options. Is this required?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Sign in to follow this  

  • Recently Browsing   0 members

    No registered users viewing this page.

×
×
  • Create New...