<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.fogproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Make_Snapins_Using_FOSS</id>
		<title>Make Snapins Using FOSS - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.fogproject.org/wiki/index.php?action=history&amp;feed=atom&amp;title=Make_Snapins_Using_FOSS"/>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Make_Snapins_Using_FOSS&amp;action=history"/>
		<updated>2026-05-23T02:37:18Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.30.0</generator>

	<entry>
		<id>https://wiki.fogproject.org/wiki/index.php?title=Make_Snapins_Using_FOSS&amp;diff=2794&amp;oldid=prev</id>
		<title>Ssx4life at 17:14, 16 January 2011</title>
		<link rel="alternate" type="text/html" href="https://wiki.fogproject.org/wiki/index.php?title=Make_Snapins_Using_FOSS&amp;diff=2794&amp;oldid=prev"/>
				<updated>2011-01-16T17:14:23Z</updated>
		
		<summary type="html">&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;'''Intro'''&amp;lt;br /&amp;gt;&lt;br /&gt;
Snapins are a feature of FOG, however I had a really hard time figuring out how to create them using free open source programs. &lt;br /&gt;
&lt;br /&gt;
For this HOWTO I will be using Ubuntu 9.04 to create a snapin of Firefox 3.0.10 for Windows. The programs that I am using all have a Windows version so you can replicate what I am doing in Ubuntu in Windows if you are more comfortable with that.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Tools'''&lt;br /&gt;
* The 7-zip program&lt;br /&gt;
* A text editor&lt;br /&gt;
* The 7-zip ''extra'' tar ball&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&lt;br /&gt;
'''Begin'''&amp;lt;br /&amp;gt;&lt;br /&gt;
To install 7-zip in Ubuntu type: &lt;br /&gt;
&lt;br /&gt;
&amp;lt;pre&amp;gt;sudo apt-get install p7zip-full&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Or trying to install it using the Add / Remove Programs GUI&lt;br /&gt;
&lt;br /&gt;
Next we have to use 7-zip to pack the file. We use the -y switch for the self-extracting program.&lt;br /&gt;
&amp;lt;pre&amp;gt;7z a -y file.7z FirefoxSetup3.0.10.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Now we need to create a config file that allows installation after inflating the file. Open your favorite text editor I am using default text editor Gedit.&lt;br /&gt;
&lt;br /&gt;
I create a new text document and put this into it:&lt;br /&gt;
&amp;lt;pre&amp;gt;;!@Install@!UTF-8!&lt;br /&gt;
Title=&amp;quot;Firefox Installation&amp;quot;&lt;br /&gt;
ExecuteFile=&amp;quot;FirefoxSetup3.0.10.exe&amp;quot;&lt;br /&gt;
;!@InstallEnd@!&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
Make sure that you save your file as UTF-8 encoded (default in gedit) and that it has the name 7zip.conf&lt;br /&gt;
&lt;br /&gt;
Now download the 7-zip extra file from [http://prdownloads.sourceforge.net/sevenzip Source Forge]. You need the 7zS.sfx file out of that archive.&lt;br /&gt;
&lt;br /&gt;
Now put everything together:&lt;br /&gt;
&amp;lt;pre&amp;gt; cat 7zS.sfx 7zip.conf file.7z &amp;gt; firefoxinstall.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
or if you want in windows&lt;br /&gt;
&amp;lt;pre&amp;gt;copy /b file.7z + 7zip.conf + 7zS.sfx firefoxinstall.exe&amp;lt;/pre&amp;gt;&lt;br /&gt;
&lt;br /&gt;
You are now ready to test and deploy your snapin.&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
'''Conclusion'''&amp;lt;br /&amp;gt;&lt;br /&gt;
I purposely choose a really simple example. Firefox is deployed much easier than this just upload the Firefox executable file to your fog server and then pass the -ms switch to make a silent install. However this gives a great overview on how to create snapins in a Linux environment. For more complex installs I end up having to use a Windows box and a great program called AutoIT the procedure is basically the same. Use 7-zip to create a self extracting archive and have it run a AutoIT script to finish the install. In my opinion this is much easier than trying to use install right and yields better results. Your mileage may vary.&lt;br /&gt;
&lt;br /&gt;
Please also note you can use open source software such as [http://sourceforge.net/projects/sfxmaker/ SFX Maker] to complete the above process automatically.&lt;/div&gt;</summary>
		<author><name>Ssx4life</name></author>	</entry>

	</feed>