Wednesday, October 30, 2013

Unattended Sourceforge.net


This link contains useful information about various installer types:

Installshield
PackagefortheWeb
Wise InstallMaster
Inno Setup
Nullsoft Scriptable Install System
Ghost installer


http://unattended.sourceforge.net/installers.php

keywords: reference uninstall install command parameter

Thursday, October 17, 2013

Mode of Use - the poison in the App-V mix.

Mode of Use - the poison in the App-V mix.


While the assocation can appear to work in testing - in the real world it does not work as the users require it to.

App1 physical (due to drivers. The app and drivers were not separated out) is launched outside the bubble

App2 has file association links to App1 and runs in a bubble.  If App1 is NOT running then the FTAs launch App1 in the bubble ok.  BUT if App1 is already running outside the bubble the FTA links fail because when they are attempted App1 outside the bubble can't see the file resources INSIDE the bubble.

e.g. ActivInspire=App1  and CuttingEdge=App2


Packaging (Preparing physical installs) and Virtualisation (preparing virtual applications) are generally regarded as very similar processes on the path to "application delivery" but in reality these two approaches are quite different.  To avoid wasteful reworking exercises it is important to select the best and most suitable approach is selected during the packaging phase(physical or virtual).  Application virtualisation is often seen as a desirable and as projects often try to set and predict percentages of virtualised applications that will be attained.  Often the targets are unrealistic because the limitations of virtualisation are not fully appreciated early in the project. 

The list of things that cannot be virtualised is relatively well known and typically includes
Drivers
Com+ components
Very Large >4Gb
Part of the operating system

Ideally, the physical or virtual decision should be made during the discovery phase or soon after the "packager" starts work.  There should also be the option to interogate expert users or application owners about the mode of use that is applied to the normal use of the software.

Types of software that should start to ring alarm bells are:
Software that interoperates with other applications.  See above.
Software that has ODBC connections that may need to be adjusted by advanced IT users.
Software that uses services that might sit quietly in the background.  Virtual services only become available when the app has been launched. (Websphere)

In addition there are items that have no technical restrictions to virtualisation but require changes to the way users operate the software. (Addins)  Is it reasonable to force (awkward?) changes to way users carry out their tasks just to accomodate the implemention of a new type of software delivery?  Often user communities will not accept changes to way things users work which shoot yet another hole in the numbers of applications that can be virtualised.

Virtualisation will usually be the default approach unless there is a reason it is not possible. In reality the number of apps that end up on the cannot/should not be virtualised because suprisingly and disappointingly large. The numbers begin to make it questionable what value virtualisation brings considering the additional operational complexity necessary to run two application delivery technologies.  One of the advantages of virtualising applications is that it can be relatively quick to run the sequencer and produce a virtual application.  However all that effort can easily go to waste once it arrives in front of a user and it does not work as they need it to.

Wednesday, October 16, 2013

Minitab 15 fails to virtualise in App-v 4.61


Configuration and Streaming launches in the sequencer appear to work fine however when attempted on a client the following error appears

Secure Loader Error
The Secure Loader user to protect this software has encountered a fatal error.  Please contact your software vendor.

Thursday, October 10, 2013

Batch File Parameters


The below is copied from the link:

http://www.microsoft.com/resources/documentation/windows/xp/all/proddocs/en-us/percent.mspx?mfr=true

See the link for more information on the modifiers.

You can use batch parameters anywhere within a batch file to extract information about your environment settings.

Cmd.exe provides the batch parameter expansion variables %0 through %9. When you use batch parameters in a batch file, %0 is replaced by the batch file name, and %1 through %9 are replaced by the corresponding arguments that you type at the command line. To access arguments beyond %9, you need to use the shift command. For more information about the shift command, see Shift The %* batch parameter is a wildcard reference to all the arguments, not including %0, that are passed to the batch file.

For example, to copy the contents from Folder1 to Folder2, where %1 is replaced by the value Folder1 and %2 is replaced by the value Folder2, type the following in a batch file called Mybatch.bat:

xcopy %1\*.* %2

To run the file, type:

mybatch.bat C:\folder1 D:\folder2

This has the same effect as typing the following in the batch file:

xcopy C:\folder1 \*.* D:\folder2

You can also use modifiers with batch parameters. Modifiers use current drive and directory information to expand the batch parameter as a partial or complete file or directory name. To use a modifier, type the percent (%) character followed by a tilde (~) character, and then type the appropriate modifier (that is, %~modifier).

Thursday, September 19, 2013

Current folder \ directory variable


Some batch files may contain the value

%~dp0  

which is a pointer to the currently active folder.

Thursday, September 12, 2013

Datawatch Monarch Pro 11


Set MSI Logging ON
Run the install exe to extract the self contained Monarch 11.msi
Copy out the Monarch 11.msi file from temp and allow the interactive install to proceed.  Enter the license/ serial number when required.


Create a transform

Refer to the follow properties in the original installation log file and set them in the transform

M_USERNAME
M_SERIALNUMBER  (this is different to the ISX_SERIALNUM below.  The original install generates it from the serial number that is entered.)
M_ISSINGLE
M_NETUSERCOUNT
ISX_SERIALNUM


User must activate at first launch by entering the license number in a dialog box.  Activation is managed via 3rd party software/service called Nalperion.

MS Office 2010 apps


Run Setup /admin use the Office Customisation Tool (OCT) and save the msp output to the updates subfolder in the installation media.  It is the admin subfolder in volume licensed installation media which enables the OCT functionality.

Edit the default config.xml file to control display and logging and copy to the root adjacent to the setup.exe.

See here for config.xml options
http://technet.microsoft.com/en-us/library/cc179195(v=office.14).aspx#ElementSetting

Create an uninstall.xml file similar to the config.xml

Uninstall command is
setup /uninstall <Product ID> /config .\xxx.ww\uninstall.xml

Product ID (NOT THE PRODUCT GUID) is the text at the top of the config.xml file - Configuration Product="xxxx"



When working with feature states while creating installation customisations, the following letters may appear next to the features to indicated their states

F = Forced to this state
H = Hidden - once set cannot be unset
L = Locked

More details regarding the Microsoft Office Customization Tool here
http://technet.microsoft.com/en-us/library/8faae8a0-a12c-4f7b-839c-24a66a531bb5(v=office.14)#Set_feature_installation_states

Office 2013 OCT
https://technet.microsoft.com/en-us/library/8faae8a0-a12c-4f7b-839c-24a66a531bb5(v=office.15)

Office 2016 OCT
https://technet.microsoft.com/en-us/library/mt461764(v=office.16).aspx

Useful Modify User settings
Microsoft Office 2010_Miscellaneous - Suppress recommended settings dialog Enabled
Microsoft Office 2010_Privacy_Trust Center - Disable Opt-in Wizard on first run Enabled
Microsoft Office 2010_Privacy_Trust Center - Enable Customer Experience Improv Prog Disabled
Microsoft Office 2010_Privacy_Trust Center - Auto receive small updates Disabled



App-V 5 Microsoft Office 2010 / 2013 Virtualising Office
video.ch9.ms/sessions/teched/na/2014/WIN-B330.pptx

http://support.microsoft.com/kb/2772509

Versions and releases
Version number of the original RTM release of Office 2010: 14.0.4763.1000
Version number of Office 2010 Service Pack 1 (SP1): 14.0.6029.1000 or later
Version number of Office 2010 Service Pack 2 (SP2): 14.0.7015.1000 or laterhttp://support.microsoft.com/kb/2121559


Major Version History

97              8.0
2000          9.0
XP 2002   10.0
2003         11.0
2007         12.0
2010         14.0  (13.0 skipped)
2013         15.0
2016         16.0


keyword: versions