[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1734
  • Last Modified:

Deployment of WinZip 12.0 with SCE

As to deploy WinZip 12.0 with SCE, I tried to customize the original MSI file which I received from the vendor. I accomplished customizing by disabling ADDDESKTOP and ADDMENUGROUP options.

I also needed to change INSTALLCMD, in the Property Table of original WInZip120.msi file,  I added switches " /noqp /noc4u /notip /autoinstall " parameters into INSTALLCMD line. Though the installation worked properly, the switches did not have any effect on the installation. In the logs I found out that switches were not picked up according to my customization.

After several attempts I decided to achieve customization via SCE Installation parameters.
And I added << "INSTALLCMD="/noqp /noc4u /notip /nopredefinedjobs /autoinstall" /qn /l*v C:\Wnzp.log >> into the installation parameters box of SCE Software Deployment.

But this time, installation failed completely by producing the error = 0x80070667

When I clear the installation parameters in SCE, installation works but not with my customizations.

I need help about handling the problem.

Thanks.
0
PEITO
Asked:
PEITO
  • 7
  • 5
1 Solution
 
JBlondCommented:

As described here, you have to modify the msi-file directly.
You said that the ADDDESKTOP and ADDMENUGROUP properties worked, but the INSTALLCMD not. Maybe you have overseen this on the WinZip-website...

Installing WinZip with limited user involvement
If WinZip is installed manually (full user involvement) any editing you have done to the INSTALLCMD property will be ignored. [...] Any custom changes you have made to other properties, such as ADDDESKTOPICON will not be ignored when you manually install.
Do you tried to test your settings with a manual installation? If you customize the INSTALLCMD property, the installation has to be started with /qb, /qr or /qn. To deploy WinZip with SCE I would try to import the msi-file and don't specify any command line parameter first as SCE installs the software silently per default. If that doesn't work, try it with the /qn parameter.
Hope that helps.
0
 
PEITOAuthor Commented:
Yes I tried manual installation with the following command line inputs:

msiexec /i "C:\WinZIp\winzip120.msi" INSTALLCMD="/noqp /noc4u /notip /nopredefinedjobs /autoinstall" /qn

and it worked very well. The result was exactly what I wanted. But when I input the same command line inputs into SCE as installation parameters then I receive installation error (0x80070667:Winzip 12.0)at clients!...
0
 
JBlondCommented:
Have you tried to add the MSI to SCE and use only

INSTALLCMD="/noqp /noc4u /notip /nopredefinedjobs /autoinstall"

as the installation parameter?
The error 80070667 means that an argument is invalid.
0
Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
PEITOAuthor Commented:
I agree that, it is definitely an argument error.
I already tried INSTALLCMD="/noqp /noc4u /notip /nopredefinedjobs /autoinstall" too.
Somehow SCE does not like it either!..
It only works properly when I DO NOT input any arguments in SCE installation parameters. But it is not what I want.

The weird thing might give a hint. When I edit the MSI file with MSI editor and put the required parameters in the PROPERTY Table and install from CMD line on my test machine, then I see that it installs without picking up the switches. The comment from log is very weird, because a special mechanism which I could not find the reason in any part of the MSI file changes the parameters such as;
PROPERTY CHANGE: Modifying INSTALLCMD property. Its current value is 'noqp /noc4u /notip /nopredefinedjobs /autoinstall'. Its new value: '/autoinstall'
0
 
JBlondCommented:
OK, thanks for your feedback. I have an idea, but I want try it with my SCE installation here first and come back within an hour or two.
0
 
JBlondCommented:
OK, I've tested it here and it works.
I've downloaded the evalution msi-file from the Winzip-website and used Orca (http://support.microsoft.com/kb/255905/en-us) to modify the INSTALLCMD-property (see attached screenshot). (Maybe you have used quotation marks in the msi file!?!?!?)
In SCE I simply added the msi package and did NOT specify any other command line parameters (No /qn or something like that). That's it. The package has been installed successfully and the taskbar icon is not active, check for updates is disabled and so on.
Hope that helps.

winzip12-customized-property.jpg
0
 
PEITOAuthor Commented:
Ok. Thanks for your efforts to solve my problem.

Your suggestion was an option I thought at the beginning. But since I couldn`t handle registration issue I had given up. Regarding your offer I tried again with the following steps;

Instead of using the MSI package I received from my vendor, I downloaded 7.66 MB msi package  from web (http://www.winzip.com/dprob.htm) . And I used Microsoft ORCA to modify it like you suggested. And the result is like I wanted except the licence key registration. I have the Winzip.WZMUL from the vendor. If I open it manually there is no problem regarding the registration. But with silent deployment it doesn`t work though I copied it to the folder where I install the MSI.

MSI inputs for WZMUL are as follows;
ADD_WZMUL : 1
WZMULPATH : I:\NMC\Current\Winzip\Staging\MSI\BldArea  
0
 
JBlondCommented:
I didn't know that you want to integrate the license file...

As far as I know the WZMULPATH-property is not documented. I don't know if you can use it to specify the location of your license file. If you want to try that you have to make sure the the property contains a UNC path and that the server share that contains the license file allows at least Read-acess for "Authenticated users".

According to the WinZip-website the license file has to be copied to %ALLUSERSPROFILE%\WinZip. As it is a simple file there are several ways to do that on all computer automatically (login script and so on). I you want to use SCE for that, another possibility is to use AutoIt (www.autoit.com). Basically it's a script that copies the file, but you can create an executable with AutoIt that will copy the file so you don't have to install AutoIt everywhere and you can deploy this EXE-file with SCE. I you choose this way and don't know how to do that with AutoIt, let me know. That can be done very quick.

Besides that it is possible to replace the dummy license file in the msi with your own licence file inside the msi as described here (http://www.experts-exchange.com/Programming/Misc/Q_21645024.html). But that is a lot more complicated than simply using a script.
0
 
JBlondCommented:
Sorry, wrong link for AutoIt...

The correct link is http://www.autoitscript.com !!!
0
 
PEITOAuthor Commented:
Using AutoIt to create an EXE file was my last option I thought in the beginning.
Normally my aim was to handle it directly with SCE by adding installation parameters into it. Eventually with the original MSI file which I downloaded from WinZip website, at least I can install it with my specific customizations such as notip, noc4u and so on.

Since there seems no other options integrating it with the license key file then after the deployment I will create a script to copy the Winzip.Wzmul file to all user profiles.

Thanks for your support. If you do not have additional comments then I will click the "Accept as Solution" button anyway.
0
 
JBlondCommented:
If you have no other software to edit the msi directly, I have no better idea.
I'm using the enterprise-edition of Advanced Installer for these 'special' cases and to avoid the limited software management abilities of SCE if the application has no msi installer, but that pays off only if you have several applications you can use it for, because it costs nearly 500$.
0
 
PEITOAuthor Commented:
I appreciate the help of the expert. He gave me good suggestions which I was thinking at the beginning but not sure about it.
0

Featured Post

Free Tool: ZipGrep

ZipGrep is a utility that can list and search zip (.war, .ear, .jar, etc) archives for text patterns, without the need to extract the archive's contents.

One of a set of tools we're offering as a way to say thank you for being a part of the community.

  • 7
  • 5
Tackle projects and never again get stuck behind a technical roadblock.
Join Now