National Instruments NI Measurement Studio Common .NET Assemblies for .NET

Views: 2k  |  Created: 07/10/2010

Average Rating: 0
NI Measurement Studio Common .NET Assemblies for .NET has 1 inventory records, 0 Questions, 0 Blogs and 0 links. Please help add to this by sharing more!

Deployment Tips (10)

Most Common Setup Type
Not Determined
Average Package Difficulty Rating
Rated 2 / 5 (Somewhat Easy) based on 3 ratings
Most Commonly Reported Deployment Method
Windows Installer with Custom Transform (MST)
or cancel
118
Security
If your users do not have write acccess to HKLM, Fireworks will display an error at startup relating to 'Launch and Edit with Dreamweaver', until the application is launched by a user with write access to the key: HKEY_LOCAL_MACHINE\Software\Microsoft\Windows\CurrentVersion\App Paths\Fireworks.exe

The issue is caused by the MSI creating the value as:
C:\Program Files\Macromedia\Fireworks 8\ (derived from [INSTALLDIR]).
Fireworks doesn't seem to like the \ at the end of the value.

Since my install was always going to be installed to the same location, as it's a silent, per computer install, I transformed the MSI (by replacing the registry value of [INSTALLDIR] with C:\Program Files\Macromedia\Fireworks 8

If your deployment installdir will vary, then you'll probably need to write a script to remove the \ from the end of the registry value.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
The standard installation of Studio 8 does not allow you to install the application unattended. You can take specific files and place them in a folder together and build your own installer using an AutoIt3 script compiled into an exe along with your license and activation information.

You need the following files from the Studio 8 cd in the FSCOMMAND folder.

CT_3.0.1_PatchPackage.msp
CT_3.1.1_PatchPackage.msp
Data1.cab
Macromedia_Contribute_3.11.msi
Macromedia_Dreamweaver_8.msi
Macromedia_Extension_Manager.msi
Macromedia_Fireworks_8.msi
Macromedia_Flash_8.msi
Macromedia_Flash_8_Video_Encoder.msi

I renamed the files to have underscores (_) instead of spaces in the names to stop any potential installation issues. Copy these files to a folder on your system.

After you have put all of these in a directory you need to build your AutoIt3 script. Below is a copy of a working script.

-----------------------------
Begin Script
-----------------------------
Break(0) ;Disable break
SplashTextOn ("Macromedia Studio 8", "The Macromedia Studio 8 installation is in progress. Please be patient.", 500, 18,-1,-1,-1,"","10","")

$val = RunWait("msiexec /qb! /i Macromedia_Dreamweaver_8.msi", "")
$val = RunWait("msiexec /qb! /i Macromedia_Extension_Manager.msi", "")
$val = RunWait("msiexec /qb! /i Macromedia_Fireworks_8.msi", "")
$val = RunWait("msiexec /qb! /i Macromedia_Flash_8.msi", "")
$val = RunWait("msiexec /qb! /i Macromedia_Flash_8_Video_Encoder.msi", "")
$val = RunWait("Msiexec /update CT_3.0.1_PatchPackage.msp /quiet", "")
$val = RunWait("msiexec /update CT_3.1.1_PatchPackage.msp /quiet", "")
$val = RunWait("msiexec /qb! /i Macromedia_Contribute_3.11.msi", "")
$val = RunWait("msiexec /qb! /i Macromedia_Flash_8_Video_Encoder.msi", "")

DirCopy("Macromedia", "C:\Documents and Settings\All Users\Application Data\Macromedia", 1)

SplashOff()
MsgBox(0, "Macromedia Studio 8", "The Macromedia Studio 8 installation has completed successfully.")

------------------------------------
End Script
------------------------------------

If you do not wish to have a confirmation dialog at the end you can remove the entry for:

MsgBox(0, "Macromedia Studio 8", "The Macromedia Studio 8 installation has completed successfully.")

The last step is to do an installation of the application and enter the serial number and activate it. Once you have done this you can copy the Macromedia folder out of:

C:\Documents and Settings\All Users\Application Data
Include this directory in the same folder on your system as the other files listed above. After you have copied the Macromedia folder be sure to enter the directory and remove the "Flash 8" folder to cut down on copy time as it has nothing to do with the licensing of the product.

Move the main folder you created on your system to a network location and install it using the compiled AutoIt3 script.

You should now have a working product.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
You can also merge a registry file for the registration information/serial number with the command:

regedit /s "registrationinfo.reg"

------------------Here is the reg file----------------------
Windows Registry Editor Version 5.00

[HKEY_LOCAL_MACHINE\SOFTWARE\Macromedia\Dreamweaver\8\Registration]
"Cached Serial Number"="*****-*****-*****-*****"
"Cached Execution Level"=dword:00000001
"Cached Is Registerable"=dword:00000001
"Cached Is Trial"=dword:00000000
"Cached Is License Good"=dword:00000001
"Cached Splash Resource"=dword:00001b72
"Location"="C:\\Program Files\\Macromedia\\Dreamweaver 8\\Dreamweaver.exe"

Save as a file with a .reg extension
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note

After contacting macromedia and wasting my time, it seems that the registration info is no longer stored in the registry, it may actually put some info there but when firing up the programs, the only place it seems to check is c:\documents and settings\all users\application data\macromedia\licensing\products\dreamweaver 8.0 or the varying product name it looks for installer.mlf and license.mlf which can be copied from your registered package and distributed with each program after including these files in the transforms for all the different programs its quite simple.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
Adobe Technote:

Installing Studio 8 Windows products over a network

Includes patching Dreamweaver 8 to 8.02.
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
I just built this package using WinINSTALL Packager Pro 8.7. In order to get it to work I had to do a few things.

1./ Administrative Installation for each piece of software, so 6 total.

- Contribute
- Flash
- Dreamweaver
- Fireworks
- Extension Manager
- Flash Video Encoder

2./ I had to install the software to run then so I can;

A: Retrieve the registry information in HKEY_CURENT_USER to import into Default User Hive

B: Retrieve the license.mlf, activation.mlf and registration.mlf files. There is a seperate license.mlf file for each application except extension manager and video encoder.

3./ Need to make sure the MSI package adds those files to the corect directory in ALL USERS profile. Create a CUSTOM ACTION that loads the Default User hive and imports the Macromedia registry into it.

If you do all this your packages should work, mine did.

Good Luck..
Regards,
Corio
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
There are differences between SP1 and SP2 for where the All Users folder is, so make sure you get this right.
SP1 has it at C:\WINNT\Profiles\All Users...
SP2 has it at C:\Documents and Settings\All Users...

This can be done in a vbscript by

Set objEnvVar = objShell.Environment("PROCESS")
strAllUsersProfile = objEnvVar("ALLUSERSPROFILE")

output = strAllUsersProfile & "\Application Data\Macromedia\Licensing\Products\"
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note
I had a bit of trouble trying to get the Contribute Administrative Install to work - I kept getting errors about the ISScript.MSI. Finally, I downloaded the latest v11 isscript.msi from InstallShield here : ISScript11.zip.

... and it worked!

cheers
baronne
Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment
117
Note

I have an alternative workaround to the issue mentioned by trudolph where Fireworks fails to install when deployed by group policy due to language settings (in the summary template). Rather than modifying the source (MSI or MST), in the advanced deployment options in group policy, I chose to ignore the language for this package. This allowed Fireworks 8 to install successfully.

Setup Information:
Setup Type: unspecified
Deployment Method Used: unspecified
Deployment Difficulty: unspecified
Platform(s): Windows
Please log in to comment

Inventory Records (1)

View inventory records anonymously contributed by opt-in users of the K1000 Systems Management Appliance.

Versions

NI Measurement Studio Common .NET Assemblies for .NET

Version

8.9.00302

Questions & Answers (0)

Questions & Answers related to National Instruments NI Measurement Studio Common .NET Assemblies for .NET

Blogs (0)

Blog posts related to National Instruments NI Measurement Studio Common .NET Assemblies for .NET

Reviews (0)

Reviews related to National Instruments NI Measurement Studio Common .NET Assemblies for .NET