Difference between revisions of "7-Zip"
(Fixed extensions list) |
KevinMurphy (Talk | contribs) (minor updates) |
||
Line 160: | Line 160: | ||
== EXE installer package.xml == | == EXE installer package.xml == | ||
− | <source lang=" | + | <source lang=" ... \n |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | == How To Let Go of Insecurities 7 Steps To Build Your Confidence == | |
− | + | Self-worth comes from one thing thinking that you are worthy. Wayne DyerIts okay to have insecurities, we all do and its crucial for us to observe and understand the impact these insecurities have on the quality of our lives. | |
− | + | ||
− | + | ||
− | + | [[http://goodvillenews.com/How-To-Let-Go-of-Insecurities-7-Steps-To-Build-Your-Confiden-APt.html How To Let Go of Insecurities 7 Steps To Build Your Confidence]] | |
− | + | ||
− | + | ||
− | + | [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]] | |
− | + | ||
− | == | + | == 13 Things You Should Do To Live Life Without Regrets == |
− | + | A study that was performed on elderly individuals a few years back, has shown that during old age, there are many people who regret the things they didnt have the courage to do as opposed to only a few who had regrets about the things theyve done. | |
− | + | [[http://goodvillenews.com/13-Things-You-Should-Do-To-Live-Life-Without-Regrets-DyXsux.html 13 Things You Should Do To Live Life Without Regrets]] | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]] | |
− | + | ||
− | + | == Worth Our Weight: The Taste of Compassion == | |
− | + | ||
− | + | Its a sunny Saturday morning, and my wife and I turn into a residential neighborhood of Santa Rosa, California the only sign of commerce is a beleaguered shopping mall a few hundred feet away. I glance down at my GPS to make sure this is where we want to be and in doing so I almost pass my destination. There it is tucked away to the left, sandwiched between two homes: Worth our Weight (W.O.W) | |
− | + | ||
− | + | ||
− | + | ||
− | + | [[http://goodvillenews.com/Worth-Our-Weight-The-Taste-of-Compassion-qYcZwK.html Worth Our Weight: The Taste of Compassion]] | |
− | + | [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]] | |
− | + | == What Is Your Legacy? Living A Meaningful life == | |
− | + | ||
− | + | ||
− | + | I want the world to be better because I was here. I want my life, I want my work, my family, I want it to mean something and if you are not making someone elses life better then you are wasting your time Will Smith | |
− | + | [[http://goodvillenews.com/What-Is-Your-Legacy-Living-A-Meaningful-life-oBtnrB.html What Is Your Legacy? Living A Meaningful life]] | |
− | + | ||
− | + | [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]] | |
− | + | ||
− | + | == Dalai Lama Awarded 2012 Templeton Prize == | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | The Dalai Lama, the Tibetan Buddhist spiritual leader whose long-standing engagement with multiple dimensions of science and with people far beyond his own religious traditions has made him an incomparable global voice for universal ethics, nonviolence, and harmony among world religions, has won the 2012 Templeton Prize. | |
− | + | [[http://goodvillenews.com/Dalai-Lama-Awarded-2012-Templeton-Prize-UttyfI.html Dalai Lama Awarded 2012 Templeton Prize]] | |
− | + | ||
− | [ | + | [[http://goodvillenews.com/wk.html GoodvilleNews.com - good, positive news, inspirational stories, articles]] |
− | + | ||
− | [ | + | |
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + | ||
− | + |
Revision as of 19:42, 4 August 2012
A free file compressor/extractor: www.7-zip.org
Contents
- 1 MSI installer package.xml
- 2 MSI installer package.xml for use with existing older exe based installs
- 3 MSI installer for use with existing older exe based installs with mixed 32-bit/64-bit hosts
- 4 EXE installer package.xml
- 5 How To Let Go of Insecurities 7 Steps To Build Your Confidence
- 6 13 Things You Should Do To Live Life Without Regrets
- 7 Worth Our Weight: The Taste of Compassion
- 8 What Is Your Legacy? Living A Meaningful life
- 9 Dalai Lama Awarded 2012 Templeton Prize
MSI installer package.xml
Using GUID for Uninstall
<package id="7zip"
name="7-Zip"
revision="920"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="7-Zip 9.20" />
<install cmd='msiexec /qn /norestart /i %SOFTWARE%\7zip\7z920.msi' />
<upgrade cmd='msiexec /qn /norestart /i %SOFTWARE%\7zip\7z920.msi' />
<remove cmd='msiexec /qn /x{23170F69-40C1-2701-0920-000001000000}' />
</package>
Using .msi for Uninstall
Alternatively to the use of the GUID you might use the MSI file for uninstall as well. This method has the advantage that since a new GUID string is used for each release, you need to search for the right ID at each release; using the MSI file obsoletes this step. However, with this approach you need to remember to leave older version(s) of the installer on your server.
<package id='7zip'
name='7-Zip'
revision='465'
priority='50'
reboot='false' >
<check type='uninstall' condition='exists' path='7-Zip 4.65' />
<install cmd='msiexec /i "%SOFTWARE%\7zip\7z465.msi" /qn' />
<upgrade cmd='msiexec /i "%SOFTWARE%\7zip\7z465.msi" /qn' />
<remove cmd='msiexec /x "%SOFTWARE%\7zip\7z465.msi" /qn' />
</package>
MSI installer package.xml for use with existing older exe based installs
Background The hosts on my network are a mix of 7-Zip (various versions) .exe and .msi based installs. If you do a .msi based install without first uninstalling the .exe version it will leave some files from the .exe based install intact as well as an entry in "Add/Remove Programs".
Use this if you have existing .exe based installs of 7-Zip (such as 4.20) and you would like to uninstall them before switching to an .msi based install.
<package id="7zip"
name="7-Zip"
revision="465"
reboot="false"
priority="0">
<check type="uninstall" condition="exists" path="7-Zip 4.65" />
<install cmd='%comspec% /c if exist "%PROGRAMFILES%\7-Zip\Uninstall.exe" "%PROGRAMFILES%\7-Zip\Uninstall.exe" /S' />
<install cmd='msiexec /qn /norestart /i %SOFTWARE%\7zip\7z465.msi' />
<upgrade cmd='%comspec% /c if exist "%PROGRAMFILES%\7-Zip\Uninstall.exe" "%PROGRAMFILES%\7-Zip\Uninstall.exe" /S' />
<upgrade cmd='msiexec /qn /norestart /i %SOFTWARE%\7zip\7z465.msi' />
<remove cmd='msiexec /qn /norestart /x %SOFTWARE%\7zip\7z465.msi' />
</package>
MSI installer for use with existing older exe based installs with mixed 32-bit/64-bit hosts
On a 64-bit host, the 64-bit version is more useful, because the 32-bit version of 7-Zip doesn't integrate in the Windows Explorer.
Warning: The approach demonstrated below which checks the value of "PROCESSOR_ARCHITECTURE" in the registry is flawed for several reasons:
- When you remove the package, 7zip-x64 will never be detected as being successfully removed on 32bit systems (and vice versa), because the check on "PROCESSOR_ARCHITECTURE" will always return true.
- When you upgrade the package and increase the revision number, WPKG will detect this and try to execute the upgrade commands even if the check statements return true! However on a 32bit host the upgrade commands of 7zip-x64 will of course always fail, as will the upgrade commands of 7zip on a 64bit host.
- "So please remember that checks are NOT there to check if a package applies to the system if the checks are true. Checks are there to verify that a package is installed properly and WPKG will run the commands over and over again until checks become true. In case of your checks they will never become true since the package will for sure not change the PROCESSOR_ARCHITECTURE or CurrentVersion value." (WPKG author Rainer Meier - wpkg-users)
A better approach is to either A) put both packages "7zip" and "7zip-x64" in your package database without the checks on PROCESSOR_ARCHITECTURE and assign "7zip" only to 32bit hosts and "7zip-x64" only to 64bit hosts, or B) create only one package that contains both the 32bit and 64bit installers of 7-Zip, and write a custom installer script that checks the operating system and installs the correct version of 7-Zip.
<?xml version="1.0" encoding="UTF-8"?>
<packages>
<package
id='7zip'
name='7-Zip Packer'
revision='465'
priority='50'
reboot='false'
>
<check type="logical" condition="or">
<check
type="registry"
condition="equals"
path="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE"
value="AMD64"
/>
<check
type='uninstall'
condition='exists'
path='7-Zip 4.65'
/>
</check>
<!-- First Uninstall the .exe -->
<install cmd='%comspec% /c if exist "%PROGRAMFILES%\7-Zip\Uninstall.exe" "%PROGRAMFILES%\7-Zip\Uninstall.exe" /S' />
<install cmd='msiexec /i "%SOFTWARE%\7zip\7z465.msi" /qn /norestart' />
<!-- If you do a .msi based install without first uninstalling the .exe
version it will leave some files from the .exe based install intact
as well as an entry in "Add/Remove Programs". -->
<upgrade cmd='%comspec% /c if exist "%PROGRAMFILES%\7-Zip\Uninstall.exe" "%PROGRAMFILES%\7-Zip\Uninstall.exe" /S' />
<upgrade cmd='msiexec /i "%SOFTWARE%\7zip\7z465.msi" /qn /norestart' />
</package>
<package
id='7zip-64'
name='7-Zip 4.65 (x64 edition)'
revision='465'
priority='50'
reboot='false'
>
<check type="logical" condition="or">
<check
type="registry"
condition="equals"
path="HKEY_LOCAL_MACHINE\SYSTEM\CurrentControlSet\Control\Session Manager\Environment\PROCESSOR_ARCHITECTURE"
value="x86"
/>
<check
type='uninstall'
condition='exists'
path='7-Zip 4.65 (x64 edition)'
/>
</check>
<!-- First Uninstall the .exe -->
<install cmd='%comspec% /c if exist "%PROGRAMFILES%\7-Zip\Uninstall.exe" "%PROGRAMFILES%\7-Zip\Uninstall.exe" /S' />
<install cmd='msiexec /i "%SOFTWARE%\7zip\7z465-x64.msi" /qn /norestart' />
<!-- If you do a .msi based install without first uninstalling the .exe
version it will leave some files from the .exe based install intact
as well as an entry in "Add/Remove Programs". -->
<upgrade cmd='%comspec% /c if exist "%PROGRAMFILES%\7-Zip\Uninstall.exe" "%PROGRAMFILES%\7-Zip\Uninstall.exe" /S' />
<upgrade cmd='msiexec /i "%SOFTWARE%\7zip\7z465-x64.msi" /qn /norestart' />
</package>
</packages>
EXE installer package.xml
<source lang=" ... \n
How To Let Go of Insecurities 7 Steps To Build Your Confidence
Self-worth comes from one thing thinking that you are worthy. Wayne DyerIts okay to have insecurities, we all do and its crucial for us to observe and understand the impact these insecurities have on the quality of our lives.
[How To Let Go of Insecurities 7 Steps To Build Your Confidence]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
13 Things You Should Do To Live Life Without Regrets
A study that was performed on elderly individuals a few years back, has shown that during old age, there are many people who regret the things they didnt have the courage to do as opposed to only a few who had regrets about the things theyve done.
[13 Things You Should Do To Live Life Without Regrets]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
Worth Our Weight: The Taste of Compassion
Its a sunny Saturday morning, and my wife and I turn into a residential neighborhood of Santa Rosa, California the only sign of commerce is a beleaguered shopping mall a few hundred feet away. I glance down at my GPS to make sure this is where we want to be and in doing so I almost pass my destination. There it is tucked away to the left, sandwiched between two homes: Worth our Weight (W.O.W)
[Worth Our Weight: The Taste of Compassion]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
What Is Your Legacy? Living A Meaningful life
I want the world to be better because I was here. I want my life, I want my work, my family, I want it to mean something and if you are not making someone elses life better then you are wasting your time Will Smith
[What Is Your Legacy? Living A Meaningful life]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]
Dalai Lama Awarded 2012 Templeton Prize
The Dalai Lama, the Tibetan Buddhist spiritual leader whose long-standing engagement with multiple dimensions of science and with people far beyond his own religious traditions has made him an incomparable global voice for universal ethics, nonviolence, and harmony among world religions, has won the 2012 Templeton Prize.
[Dalai Lama Awarded 2012 Templeton Prize]
[GoodvilleNews.com - good, positive news, inspirational stories, articles]