Sounds straighforward but the install can easily break. The quality of the MSI is debatable.
The media was composed of
setup.exe
setup.msi
setup.cab
read_me.html
ip_description.xml
Copy the media to a folder on the C:
Set the setup.exe for Windows XP SP3 compatibility.
Run the setup.exe
Choose both installation feature options (documentation and libraries)
Change the Destination Folder to C:\Program Files (x86)\GCTI\ActiveX Interface for Desktop Tookit, in this step it is important to add the (x86) piece in otherwise a failure occurs.
MSI, App-V, SCCM, Appsense, Citrix. This blog contains hints and tips on these technologies. Primarily it is an online notebook of items that I may need to refer to in the future, or things I constantly forget!
Tuesday, June 7, 2011
Wednesday, May 18, 2011
Lotus Notes 8.51 Eclipse Fixpack5
The fixpack5 setup.exe is a common Installshield type exe that calls a fix.msi. The command line for the exe can be constucted as follows to pass the required MSI parameters properly
setup.exe /s /v"/qb-! /l*v %temp%\fixpack5.log"
note the quotes enclosing the parameters after the /v.
Alternatively calling msi directly can also work with the following
msiexec /i fix.msi /qb-! SETUPEXEDIR=<folder containing setup.exe> /l*v %temp%\fixpack5.log
setup.exe /s /v"/qb-! /l*v %temp%\fixpack5.log"
note the quotes enclosing the parameters after the /v.
Alternatively calling msi directly can also work with the following
msiexec /i fix.msi /qb-! SETUPEXEDIR=<folder containing setup.exe> /l*v %temp%\fixpack5.log
Wednesday, May 4, 2011
Problem Steps Recorder (PSR)
In Windows 7 the Problem Steps Recorder (psr.exe) can be used to generate a MHTML file containing detailed screen shots, mouse and keyboard actions. Although designed to capture problem actions to reproduce problems, it can be used to detail the installation process for applications.
PSR.EXE will save out to a compressed zip format which contains an MHTML .mht file readable in Internet Explorer. Be aware the MHTML file can rapidly become very large due to the screen shot images stored during captured operations.
PSR.EXE will save out to a compressed zip format which contains an MHTML .mht file readable in Internet Explorer. Be aware the MHTML file can rapidly become very large due to the screen shot images stored during captured operations.
Short File Name (SFN) to Long File Name (LFN) Conversion
The text below is an excerpt from http://en.wikipedia.org/wiki/8.3_filename
Although there is no compulsory algorithm for creating the 8.3 name from an LFN, Windows uses the following convention:[4]
Although there is no compulsory algorithm for creating the 8.3 name from an LFN, Windows uses the following convention:[4]
- If the LFN is 8.3 uppercase, no LFN will be stored on disk at all.
- Example: "TEXTFILE.TXT"
- If the LFN is 8.3 mixed case, the LFN will store the mixed-case name, while the 8.3 name will be an uppercased version of it.
- Example: "TextFile.Txt" becomes "TEXTFILE.TXT".
- If the filename contains characters not allowed in an 8.3 name (including space which was disallowed by convention though not by the APIs) or either part is too long, the name is stripped of invalid characters such as spaces and extra periods. Other characters such as "+" are changed to the underscore "_", and uppercased. The stripped name is then truncated to the first 6 letters of its basename, followed by a tilde, followed by a single digit, followed by a period ".", followed by the first 3 characters of the extension.
- Example: "TextFile1.Mine.txt" becomes "TEXTFI~1.TXT" (or "TEXTFI~2.TXT", should "TEXTFI~1.TXT" already exist). "ver +1.2.text" becomes "VER_12~1.TEX".
- Beginning with Windows 2000, if at least 4 files or folders already exist with the same initial 6 characters in their short names, the stripped LFN is instead truncated to the first 2 letters of the basename (or 1 if the basename has only 1 letter), followed by 4 hexadecimal digits derived from an undocumented hash of the filename, followed by a tilde, followed by a single digit, followed by a period ".", followed by the first 3 characters of the extension.
- Example: "TextFile.Mine.txt" becomes "TE021F~1.TXT".
Thursday, April 28, 2011
Hide User Accounts on the Welcome Screen
Use this where you need an account on a machine to support network connections but do not want it displayed as an interactive logon option on the Welcome Screen
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
<UserName> REG_DWORD 0
For information regarding automatic logon look here
https://technet.microsoft.com/en-us/library/cc939702.aspx
This section applies to Windows 10 and how to have a separate local admin and local user accounts and elevate using the admin account when required. At the same time the login screen does not advertise the presence of the potential accounts to login with.
Prevent accounts appearing at the logon screen:
secpol.msc
Security Settings_Local Polices_Security Options
When using local accounts on Windows 10 you may want to set
Interactive logon:Don't Display last signed-in Enabled
If the SpecialAccounts setting above is set for the Local Admin account, this causes a limitation that you will not be able to Switch User, and nor will you be able to use RunAs Administrator to run things elevated.
There is a work around though.
Search for Notepad
Open file location
Shift Right click and select Run as a different user
Enter
.\LocalAdminAccount
password
In notepad, file open and navigate to C:\Windows\System32\cmd.exe
right click RunAs Administrator
The cmd window is now running elevated as the admin.
I can't have my cake and eat it here :(
What I want is to have local user accounts selectable but not the local admin account. However I also want the option to login interactively with the local admin account if necessary.
If the Don't Display last signed-in is enabled, then the user is inconvenienced by having to enter their account name at every login.
If the Don't Display last signed-in is disabled (default), then use can select but LocalAdmin will display unless it has the SpecialAccount key, but then there is no way to choose to login with the LocalAdmin.
I will settle for Selectable with LocalAdmin set with a SpecialAccounts entry. If interactive admin logon is needed, it will need to be enabled by removing the SpecialAccounts key first.
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\Winlogon\SpecialAccounts\UserList
<UserName> REG_DWORD 0
For information regarding automatic logon look here
https://technet.microsoft.com/en-us/library/cc939702.aspx
This section applies to Windows 10 and how to have a separate local admin and local user accounts and elevate using the admin account when required. At the same time the login screen does not advertise the presence of the potential accounts to login with.
Prevent accounts appearing at the logon screen:
secpol.msc
Security Settings_Local Polices_Security Options
When using local accounts on Windows 10 you may want to set
Interactive logon:Don't Display last signed-in Enabled
If the SpecialAccounts setting above is set for the Local Admin account, this causes a limitation that you will not be able to Switch User, and nor will you be able to use RunAs Administrator to run things elevated.
There is a work around though.
Search for Notepad
Open file location
Shift Right click and select Run as a different user
Enter
.\LocalAdminAccount
password
In notepad, file open and navigate to C:\Windows\System32\cmd.exe
right click RunAs Administrator
The cmd window is now running elevated as the admin.
I can't have my cake and eat it here :(
What I want is to have local user accounts selectable but not the local admin account. However I also want the option to login interactively with the local admin account if necessary.
If the Don't Display last signed-in is enabled, then the user is inconvenienced by having to enter their account name at every login.
If the Don't Display last signed-in is disabled (default), then use can select but LocalAdmin will display unless it has the SpecialAccount key, but then there is no way to choose to login with the LocalAdmin.
I will settle for Selectable with LocalAdmin set with a SpecialAccounts entry. If interactive admin logon is needed, it will need to be enabled by removing the SpecialAccounts key first.
Wednesday, April 13, 2011
Sequencing 32bit Registry Keys on 64bit Windows 7
During sequencing 32 bit processes writing to HKLM\Software will, as usual, end up being redirected to HKLM\Software\Wow6432node. This will be reflected in the virtual registry tab and the keys will be shown under the HKLM\Software\Wow6432node. Obvious perhaps but important to remember to avoid confusion hence this post !
Windows 7 WMP 12 database with network media
Windows Media Player (WMP) 12 on Windows 7 is supposed to build a database from the files it finds at locations specified in the Music "Library". If the music library has an entry which points to a network location, then WMP 12 fails to add the items in that location to the library. You can work around this creating a local link to the the network location and then adding the local link to the library.
Add a non-indexed UNC as a library
===========================
1. Create a folder on your hard drive for shares. i.e. c:\share
2. Create another folder in the above share. i.e. c:\share\music
2. Link the Library to this folder.
3. Delete the folder.
4. Use the mklink in an elevated command prompt to make a symbolic link. Name the link the same as the folder you created above.
i.e - mklink /d c:\share\music \\server\music
5. Done. Now you have non-indexed UNC path as a library.
Add a non-indexed UNC as a library
===========================
1. Create a folder on your hard drive for shares. i.e. c:\share
2. Create another folder in the above share. i.e. c:\share\music
2. Link the Library to this folder.
3. Delete the folder.
4. Use the mklink in an elevated command prompt to make a symbolic link. Name the link the same as the folder you created above.
i.e - mklink /d c:\share\music \\server\music
5. Done. Now you have non-indexed UNC path as a library.
Subscribe to:
Posts (Atom)