MSFN Forum: installing non executing program - MSFN Forum

Jump to content



Unattended CD/DVD Guide Homepage · MSFN Forum Rules

Welcome to the Applications Installs forum. Make sure you read the forum rules before you start posting.

Links/Requests to warez and/or any illegal material (porn, cracks, serials, etc..) will not be tolerated. Discussion of circumventing WGA/activation/timebombs/keygens or any other illegal activity will also not be tolerated.

We try our best to keep this forum clean of illegal content. If you see any illegal activity use the "report" button you find in every post to report the specific post to the moderators. If you ignore any of the rules you will be banned without notice.

Read Forum Rules
Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

installing non executing program Rate Topic: -----

#1 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 28-April 09

Posted 22 May 2009 - 08:13 PM

how do i create an addon or install a program that doesnt need to be installed to run so isnt an exe package


#2 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,754
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 May 2009 - 08:27 PM

Winrar SFX file!

You can tell it to make shortcuts and everything.

#3 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 28-April 09

Posted 22 May 2009 - 11:31 PM

ah thank you 1 other thing since i dont need it to run anything to install can i use the setup proram (run before or run after) extraction to run a reg file to associate a filetype with it

#4 User is offline   Kelsenellenelvian 

  • WPI Guru
  • Group: Developers
  • Posts: 7,754
  • Joined: 18-September 03
  • OS:Windows 7 x64
  • Country: Country Flag

Posted 22 May 2009 - 11:55 PM

Yup you can add a reg file in there and call it with winrar.

#5 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 28-April 09

Posted 23 May 2009 - 02:23 AM

i get a prompt about adding it to the regisrty how do i make it silent

#6 User is offline   Selena 

  • Newbie
  • Group: Members
  • Posts: 17
  • Joined: 09-November 07

Posted 23 May 2009 - 02:50 AM

To import registry files silently, use the command "regedit /S filename".

Anyway, for these kind of things, I prefer an application called "Advanced Installer". It's freeware for simple projects.

#7 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 28-April 09

Posted 23 May 2009 - 03:02 AM

thanks finally achieved it hope the addon works now, it works stand alone

#8 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 23 May 2009 - 05:53 PM

Btw, for making silent installers, then i would strongly recomend checking out the 7z SFX modified module(sticky thread on top of this forum)... It features a boatload of config options, including e.g. adding reg-entries without using REG-files, and running NT Command Processor commands without using NT Command Scripts etc... Just a tip for a more advanced solution, if you're serious about making silent installers, but if you're just into the easiest solution, then stick to WinRAR :)

#9 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 28-April 09

Posted 26 May 2009 - 04:37 AM

thanks id like to learn the advanced way but at the moment im having enough trouble doing all these things the easy way lol so ill stick to the easy way for now
hard enough trying to find the easy way as some threads that should be sticky threads are lost through pages of junk

#10 User is offline   iamtheky 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 843
  • Joined: 11-November 08

Posted 26 May 2009 - 07:19 AM

Maybe I am missing something. But why not just xcopy the files, then xcopy the shortcut (as it would need to be in the source, it would have to be made prior and edited to reflect proper deployment location of the .exe) to the desktop.

Its what I do for the portable suites.

This post has been edited by iamtheky: 26 May 2009 - 07:21 AM


#11 User is offline   b-man 

  • Member
  • PipPip
  • Group: Members
  • Posts: 200
  • Joined: 28-April 09

Posted 27 May 2009 - 02:41 AM

er huh? is that through run once?
i am beginner to all this so a silent installer and addon is easier, i dont understand run once yet

#12 User is offline   strel 

  • segmentation fault
  • PipPipPipPip
  • Group: Members
  • Posts: 629
  • Joined: 24-February 08
  • OS:XP Pro x86
  • Country: Country Flag

Posted 27 May 2009 - 04:04 AM

Yes you can use runonce. Read the unattended guide, it's not difficult, keep an eye on Reference/Timeline section for easier understanding. This method is easier than making an addon for that kind of applications IMHO.

#13 User is offline   Martin H 

  • Friend of MSFN
  • PipPipPipPipPip
  • Group: Members
  • Posts: 802
  • Joined: 24-November 06
  • OS:none specified

Posted 27 May 2009 - 04:27 AM

IMHO, then the nicest and cleanest method of installing apps without an installer, is by using an INF file, like e.g. this one for Foxit Reader:
[Version]
Signature=$Windows NT$

[DefaultInstall]
CopyFiles=copyfiles
AddReg=addreg
UpdateInis=updateinis
RunPostSetupCommands=runpostsetupcommands:1

[DestinationDirs]
copyfiles=16422,Foxit Reader

[copyfiles]
Foxit Reader.exe
Foxit_JS_ExObjects.dll
fxdecod1.dll
js.dll

[addreg]
HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowEditorAd_908",0x0,"0"
HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowReaderAd_908",0x0,"0"
HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowTypewriterAd_908",0x0,"0"
HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowPOAd_908",0x0,"0"
HKCU,"Software\Foxit Software\Foxit Reader\MainFrame","ShowSDKAd_908",0x0,"0"

[updateinis]
setup.ini,progman.groups,,group1=%16409%
setup.ini,group1,,"Foxit Reader,""""""%16422%\Foxit Reader\Foxit Reader.exe""""""
setup.ini,progman.groups,,group2=%16410%\Microsoft\Internet Explorer\Quick Launch
setup.ini,group2,,"Foxit Reader,""""""%16422%\Foxit Reader\Foxit Reader.exe""""""

[runpostsetupcommands]
%16422%\Foxit Reader\Foxit Reader.exe -Register

This INF will make a folder in %programfiles% named 'Foxit Reader', copy the four program files over to that folder, make shortcuts on the desktop and in quick launch, add reg-entries for diabling adds, and registering file-associations.

All the 4 program files + the above INF should be in the same folder, but if wanting the 4 program files into a seperate folder for "cleanlines"(so it's an INF + a folder with the source files), then just change the 'copyfiles' section like this:
[copyfiles]
Foxit Reader.exe,files\Foxit Reader.exe
Foxit_JS_ExObjects.dll,files\Foxit_JS_ExObjects.dll
fxdecod1.dll,files\fxdecod1.dll
js.dll,files\js.dll

(No need for SourceDisksNames/SourceDisksFiles ;))

Note: The above is an Advanced INF and hence needs to be installed through advpack.dll:
rundll32 advpack.dll,LaunchINFSection install.inf,,1

This post has been edited by Martin H: 28 May 2009 - 07:12 AM


#14 User is offline   JoeMSFN 

  • Member
  • PipPip
  • Group: Members
  • Posts: 206
  • Joined: 28-September 04

Posted 28 May 2009 - 08:31 PM

Perhaps some would like the stand alone installable for their less technical people in their life. I forget which one but I THINK inno setup is also capable of creating add/remove program entries. Whichever system does it, I believe it is downloadable from source forge.

#15 User is offline   ajua 

  • Custom Installer Maker
  • PipPipPipPipPipPip
  • Group: Members
  • Posts: 1,260
  • Joined: 16-April 05

Posted 29 May 2009 - 02:20 AM

View PostSelena, on May 23 2009, 03:50 AM, said:

To import registry files silently, use the command "regedit /S filename".

Anyway, for these kind of things, I prefer an application called "Advanced Installer". It's freeware for simple projects.

I use the Professional (if Caphyon Advanced Installer is what you meant) version but for simple installers like freeware programs and portables, its simple install is free and it is great for creating MSI from scratch without any knowledge.

If you want to save space with big programs, try making admin installs (after you create your MSI installers) and then repackage them using 7-Zip.

WinRAR SFX files are great for quick installs too.

Share this topic:


Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users



All trademarks mentioned on this page are the property of their respective owners
Copyright © 2001 - 2011 msfn.org
Privacy Policy