About the winzip 11.1 problems
Hi
I have made a mst from the vender msi of winzip11.1.
My problem is to do some changes in the mst..I have to check the "do not check for update" button as well as i have to do the chenges in the type of setup(Express and custom).
I have to select the setup as custom...
Also the in the mst as well as the msi these dialog boxes are not present..
I have created the mst using install tailor..
Pls do help me
Thanks and regards
sumit
I have made a mst from the vender msi of winzip11.1.
My problem is to do some changes in the mst..I have to check the "do not check for update" button as well as i have to do the chenges in the type of setup(Express and custom).
I have to select the setup as custom...
Also the in the mst as well as the msi these dialog boxes are not present..
I have created the mst using install tailor..
Pls do help me
Thanks and regards
sumit
0 Comments
[ + ] Show comments
Answers (24)
Please log in to answer
Posted by:
AngelD
16 years ago
Hi tbirdfiver,
Here is what I did, the ADD_WZMUL property is what you're after.
Created a Transform with the following information:
- Created the winzip111.cab cabinet containing the license (WINZIP.WZMUL) file.
(use MakeCab.exe)
- Added a new entry for the external cabinet (winzip111.cab) file in the Media table.
- Update the file information in the File table to reflect in which media (.cab file) the WINZIP.WZMUL file exists.
Updated the FileSize column for the new file and also update the incorrect FileName column.
(Used the existing entry in the File table and change the column values: FileName, FileSize and Sequence)
- Update the MsiFileHash table for the HASH entries for the WINZIP.WZMUL file (missing from beginning).
- Changed the ADD_WZMUL property to 1 to install the existing component holding the original WINZIP.WZMUL but for the file instead.
- Removed the ReadMe.txt shortcut and removed the Icon entry (Icon table) for the shortcut to remove any ICE36 warnings (Icon Bloat).
- Property changes:
Added the ALLUSERS property to install per-machine by default
Removed the DISABLEADVTSHORTCUTS property so all shortcuts installs as advertised shortcuts (useful for triggering a repair if needed)
Changed the ADDDESKTOPICON property to not install the desktop shortcut
Changed the INST_QKPICK property to not add the systray icon
Changed the INSTALLCMD property
INSTALLCMD property Switches:
/noqp = no quickpick icon in system tray
/notip = no tip of the day
/noc4u = don't check for updates
/nopredefinedjobs = no predefined sample jobs in the Winzip menu
- Prevented the AreExeFilesLocked custom action (InstallExecuteSequence table) from being executed as it prevents a repair from
occuring by locking the winzip32.exe file through an open handle which it should prevent from doing from the beginning for regular users.
Here is what I did, the ADD_WZMUL property is what you're after.
Created a Transform with the following information:
- Created the winzip111.cab cabinet containing the license (WINZIP.WZMUL) file.
(use MakeCab.exe)
- Added a new entry for the external cabinet (winzip111.cab) file in the Media table.
- Update the file information in the File table to reflect in which media (.cab file) the WINZIP.WZMUL file exists.
Updated the FileSize column for the new file and also update the incorrect FileName column.
(Used the existing entry in the File table and change the column values: FileName, FileSize and Sequence)
- Update the MsiFileHash table for the HASH entries for the WINZIP.WZMUL file (missing from beginning).
- Changed the ADD_WZMUL property to 1 to install the existing component holding the original WINZIP.WZMUL but for the file instead.
- Removed the ReadMe.txt shortcut and removed the Icon entry (Icon table) for the shortcut to remove any ICE36 warnings (Icon Bloat).
- Property changes:
Added the ALLUSERS property to install per-machine by default
Removed the DISABLEADVTSHORTCUTS property so all shortcuts installs as advertised shortcuts (useful for triggering a repair if needed)
Changed the ADDDESKTOPICON property to not install the desktop shortcut
Changed the INST_QKPICK property to not add the systray icon
Changed the INSTALLCMD property
INSTALLCMD property Switches:
/noqp = no quickpick icon in system tray
/notip = no tip of the day
/noc4u = don't check for updates
/nopredefinedjobs = no predefined sample jobs in the Winzip menu
- Prevented the AreExeFilesLocked custom action (InstallExecuteSequence table) from being executed as it prevents a repair from
occuring by locking the winzip32.exe file through an open handle which it should prevent from doing from the beginning for regular users.
Posted by:
spartacus
17 years ago
Some useful information regarding customisation of the WinZip MSI can be found here.
From the above article, it looks like most of what you need to do can be achieved by using the INSTALLCMD property in your transform.
Regards,
Spartacus
From the above article, it looks like most of what you need to do can be achieved by using the INSTALLCMD property in your transform.
Regards,
Spartacus
Posted by:
AngelD
17 years ago
Adding the /noc4u switch to the INSTALLCMD property doesn't seems to do the trick.
It sets the registry entry AutoMode (REG_SZ) to 1 which is the same as "Ask before checking, once a week"
It also sets the NoUpdateChecking to 1 which will hide the "Check for Updates" options under Options menu -> Configuration option -> Miscellaneous tab
Set AutoMode to 0 to check the "Do not check for updates" option in the Miscellaneous tab
Set NoUpdateChecking to 0 if you want the "Check for Updates" options to be visible under the Miscellaneous tab
It sets the registry entry AutoMode (REG_SZ) to 1 which is the same as "Ask before checking, once a week"
It also sets the NoUpdateChecking to 1 which will hide the "Check for Updates" options under Options menu -> Configuration option -> Miscellaneous tab
Set AutoMode to 0 to check the "Do not check for updates" option in the Miscellaneous tab
Set NoUpdateChecking to 0 if you want the "Check for Updates" options to be visible under the Miscellaneous tab
Posted by:
sumitsingh1984
17 years ago
Thanks for the reply ..
Now i am having a problem of removing a file which is getting created when i install that msi+mst ..
So Can u tell me what sequence should i give for removing that fine..
The file is getting created on C drive..
I have a vb script its works manually but when i include into the mst its not deleting that folder .. I am using Wise tool..
Pls do help me out..
Now i am having a problem of removing a file which is getting created when i install that msi+mst ..
So Can u tell me what sequence should i give for removing that fine..
The file is getting created on C drive..
I have a vb script its works manually but when i include into the mst its not deleting that folder .. I am using Wise tool..
Pls do help me out..
Posted by:
AngelD
17 years ago
Posted by:
sumitsingh1984
17 years ago
Hi
After using the command(installcmd) the application is getting installed nicely but in admin mode it configures each time we go into that.
Also when ever any winzip file we open its pops up the update window??
Pls help me out ..
What to do also the C:\Winzip file is not getting deleted..
Pls do help me
After using the command(installcmd) the application is getting installed nicely but in admin mode it configures each time we go into that.
Also when ever any winzip file we open its pops up the update window??
Pls help me out ..
What to do also the C:\Winzip file is not getting deleted..
Pls do help me
Posted by:
dallasr
17 years ago
I just packaged this app for our environment. This is how I did it:
-I created a new transform file (did not use Install Tailor, just a blank MST).
-Edit the INSTALLCMD property in Setup Editor to be: "/noqp /notip /noc4u /nopredefinedjobs /autoinstall"
NOTE that /autoinstall has to be the last switch.
-I also added the license file (winzip.wzmul) to the package so it was placed in C:\Documents and Settings\All Users\Application Data\Winzip\
Details on Switches Used for the INSTALLCMD property:
/noqp = no quickpick icon in system tray
/notip = no tip of the day
/noc4u = don't check for updates
/nopredefinedjobs = no predefined sample jobs in the Winzip menu
Then I deployed the package with the transform created and it worked great.
-I created a new transform file (did not use Install Tailor, just a blank MST).
-Edit the INSTALLCMD property in Setup Editor to be: "/noqp /notip /noc4u /nopredefinedjobs /autoinstall"
NOTE that /autoinstall has to be the last switch.
-I also added the license file (winzip.wzmul) to the package so it was placed in C:\Documents and Settings\All Users\Application Data\Winzip\
Details on Switches Used for the INSTALLCMD property:
/noqp = no quickpick icon in system tray
/notip = no tip of the day
/noc4u = don't check for updates
/nopredefinedjobs = no predefined sample jobs in the Winzip menu
Then I deployed the package with the transform created and it worked great.
Posted by:
samanta123
17 years ago
The above listed answer worked very good and i really liked it.
How can we know that we should use "/noqp /notip /noc4u /nopredefinedjobs /autoinstall" as INSTALLCMD property value.
How can we know that "/noqp = no quickpick icon in system tray " are these things documented in any install does that come with winzip or are these things are there in the MSI itself. Please enlighten me...I am ignorant.
Thanks in Advance
How can we know that we should use "/noqp /notip /noc4u /nopredefinedjobs /autoinstall" as INSTALLCMD property value.
How can we know that "/noqp = no quickpick icon in system tray " are these things documented in any install does that come with winzip or are these things are there in the MSI itself. Please enlighten me...I am ignorant.
Thanks in Advance
Posted by:
AngelD
17 years ago
Spartacus posted the link to the http://www.winzip.com/xmsicust.htm page.
Posted by:
sumacb
17 years ago
Posted by:
Blue_Demon
17 years ago
Just packaging up this app myself.
Used the swicthes mentioned on their site and have it installing fine. One small issue I have is that when upgrading from version 11.0 to 11.1, the install seems to ignore some of the switches and puts icons on the desktop, system tray etc. When installed on a clean build (no version 11.0 installed previously) the install works fine.
I'm working in a Netware environment and using the /autoinstall switch it launches Winzip after the installation is complete. Thing is, my application object also starts winzip, so the first time it's run, 2 windows pop up.
Any quick tips on closing the first instance atfer the /autoinstall is finished??
Cheers.
Used the swicthes mentioned on their site and have it installing fine. One small issue I have is that when upgrading from version 11.0 to 11.1, the install seems to ignore some of the switches and puts icons on the desktop, system tray etc. When installed on a clean build (no version 11.0 installed previously) the install works fine.
I'm working in a Netware environment and using the /autoinstall switch it launches Winzip after the installation is complete. Thing is, my application object also starts winzip, so the first time it's run, 2 windows pop up.
Any quick tips on closing the first instance atfer the /autoinstall is finished??
Cheers.
Posted by:
Blue_Demon
17 years ago
Posted by:
kjhurni
16 years ago
First to answer your question:
If using AdminStudio, under System Configuration is a sub-menu for: Files and Folders
On the Destination Computer you would have:
CommonAppDataFolder->WinZip
and the file is the winzip.wzmul
I believe it'll make a .cab file along with the .mst file when you build it. The .cab file will contain the winzip.wzmul file.
If using AdminStudio, under System Configuration is a sub-menu for: Files and Folders
On the Destination Computer you would have:
CommonAppDataFolder->WinZip
and the file is the winzip.wzmul
I believe it'll make a .cab file along with the .mst file when you build it. The .cab file will contain the winzip.wzmul file.
Posted by:
kjhurni
16 years ago
ORIGINAL: dallasr
I just packaged this app for our environment. This is how I did it:
-I created a new transform file (did not use Install Tailor, just a blank MST).
-Edit the INSTALLCMD property in Setup Editor to be: "/noqp /notip /noc4u /nopredefinedjobs /autoinstall"
NOTE that /autoinstall has to be the last switch.
-I also added the license file (winzip.wzmul) to the package so it was placed in C:\Documents and Settings\All Users\Application Data\Winzip\
Details on Switches Used for the INSTALLCMD property:
/noqp = no quickpick icon in system tray
/notip = no tip of the day
/noc4u = don't check for updates
/nopredefinedjobs = no predefined sample jobs in the Winzip menu
Then I deployed the package with the transform created and it worked great.
Hi, I've tried doing the same thing with AdminStudio and it just seems to ignore the settings. It still installs with the icons everywhere.
I wonder if the "features" section is overriding the installcmd?
Posted by:
karshi
16 years ago
Posted by:
kjhurni
16 years ago
Posted by:
karshi
16 years ago
Thanx Kjhurni,for ur reply,
I tried the same following these posts,n got desktop icon n startmenu removed.
But i was actually stuck up with the selection of custom radio button instead of Express and the "Do not check for updates" button.
Inspite of adding these properties i am unable to find any change in the UI.
can u please conform whether this was possible for u or not?
I tried the same following these posts,n got desktop icon n startmenu removed.
But i was actually stuck up with the selection of custom radio button instead of Express and the "Do not check for updates" button.
Inspite of adding these properties i am unable to find any change in the UI.
can u please conform whether this was possible for u or not?
Posted by:
kjhurni
16 years ago
ORIGINAL: karshi
Thanx Kjhurni,for ur reply,
I tried the same following these posts,n got desktop icon n startmenu removed.
But i was actually stuck up with the selection of custom radio button instead of Express and the "Do not check for updates" button.
Inspite of adding these properties i am unable to find any change in the UI.
can u please conform whether this was possible for u or not?
I'm not sure I understand. You shouldn't see any radio buttons if you install with the transform file. It's non-user interactive (or so I believe). After the install, I was able to confirm that there's no "check for udpates" option anywhere in the install.
Posted by:
karshi
16 years ago
Hey thanx ya,
Actually i was talking abt configuring manual installation wherein dialog boxes which appear like "setup" containing two select buttons "custom" n "express" have automatically the required buttons selected.
Anyways ur tricks made me achieve my ultimate goal,however thru silent installation.
Actually i was talking abt configuring manual installation wherein dialog boxes which appear like "setup" containing two select buttons "custom" n "express" have automatically the required buttons selected.
Anyways ur tricks made me achieve my ultimate goal,however thru silent installation.
Posted by:
tbirdfiver
16 years ago
I have been duking it out trying to get rid of the "Setup" in the middle of the process, only thing was the admin install. As for the WZMUL file, I tried adding it, but installation didn't seem to "see" it and it kept prompting. If I copied it in there first, no problem. I added the FUP for people who use SMS/SCCM
This is working 100% silent. It works in QR as well and SCCM can "Suppress Program Notifications", but QN adds that little extra bit of safety.
If anyone masters the 2 property settings for the WZMUL, please post. I am working on that now.
Here's my offering:
1. Using InstallShield, create a new MST, use “Create Response Transformâ€Â
a. Fill in desired settings
2. Open the MST and fill in the remaining settings.
a. INSTALLCMD=/msiinstall /noc4u /notip /altext "zip" /autoinstall
b. RUNQKPICK=0
c. RUNWINZIP=0
d. Further modifications are your own company’s taste
3. Run an admin install on the MSI (make sure to keep the original copy somewhere)
a. Make the network install folder “C:\Program Files\Winzipâ€Â
i. This prevents it from creating incorrect INSTALLDIR
4. Move the resulting MSI and accompanying files to your actual network share location
5. Put the MST in that folder
6. If you are using SMS (now called SCCM), you should put in the following Registry Key
a. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{CD95F661-A5C4-44F5-A6AA-ECDD91C240B5}]
"StubPath"= "msiexec /fup {CD95F661-A5C4-44F5-A6AA-ECDD91C240B5}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{CD95F661-A5C4-44F5-A6AA-ECDD91C240B5}]
Version"= "1.0"
The GUID is the one from v11.1 msi file. This key can be used for any MSI.
This will make the HKCU setting rebuild for any subsequent users. For SMS/SCCM that uses the SYSTEM account, you must do this to have fully automated CU settings
7. Create a deployment script with the following commands
a. Create the folder C:\Documents And Settings\All Users\Application Data\Winzip\
b. Copy your WinZip.wzmul file to that folder
c. Run MSIEXEC.EXE /I “[path to your msi file]\WINZIP111.MSI†TRANSFORMS=â€Â[the path\name of your mst]†/lvie [the path to your log file location] ALLUSERS=2 PRIVILEGED=2 /QN
GOOD LUCK, HOPE IT WORKS FOR ALL!
This is working 100% silent. It works in QR as well and SCCM can "Suppress Program Notifications", but QN adds that little extra bit of safety.
If anyone masters the 2 property settings for the WZMUL, please post. I am working on that now.
Here's my offering:
1. Using InstallShield, create a new MST, use “Create Response Transformâ€Â
a. Fill in desired settings
2. Open the MST and fill in the remaining settings.
a. INSTALLCMD=/msiinstall /noc4u /notip /altext "zip" /autoinstall
b. RUNQKPICK=0
c. RUNWINZIP=0
d. Further modifications are your own company’s taste
3. Run an admin install on the MSI (make sure to keep the original copy somewhere)
a. Make the network install folder “C:\Program Files\Winzipâ€Â
i. This prevents it from creating incorrect INSTALLDIR
4. Move the resulting MSI and accompanying files to your actual network share location
5. Put the MST in that folder
6. If you are using SMS (now called SCCM), you should put in the following Registry Key
a. [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{CD95F661-A5C4-44F5-A6AA-ECDD91C240B5}]
"StubPath"= "msiexec /fup {CD95F661-A5C4-44F5-A6AA-ECDD91C240B5}"
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Active Setup\Installed Components\{CD95F661-A5C4-44F5-A6AA-ECDD91C240B5}]
Version"= "1.0"
The GUID is the one from v11.1 msi file. This key can be used for any MSI.
This will make the HKCU setting rebuild for any subsequent users. For SMS/SCCM that uses the SYSTEM account, you must do this to have fully automated CU settings
7. Create a deployment script with the following commands
a. Create the folder C:\Documents And Settings\All Users\Application Data\Winzip\
b. Copy your WinZip.wzmul file to that folder
c. Run MSIEXEC.EXE /I “[path to your msi file]\WINZIP111.MSI†TRANSFORMS=â€Â[the path\name of your mst]†/lvie [the path to your log file location] ALLUSERS=2 PRIVILEGED=2 /QN
GOOD LUCK, HOPE IT WORKS FOR ALL!
Posted by:
tbirdfiver
16 years ago
Ok, here is a weird one. In doing the Admin Install, no matter what I put in for the INSTALLDIR or for WZINSTALLDIR, it always sets up the program in C:\PROGRAM FILES\WINZIP\PROGRAM FILES\WINZIP folder.
I have redone the Admin Install three times. I have done numerous MST's with different paths for INSTALLDIR, I have directly edited the MSI, I have reviewed all the properties. All to no avail. There is nothing that indicates a redundant path.
Quite frustrating!!
Anyone have any thoughts?
I have redone the Admin Install three times. I have done numerous MST's with different paths for INSTALLDIR, I have directly edited the MSI, I have reviewed all the properties. All to no avail. There is nothing that indicates a redundant path.
Quite frustrating!!
Anyone have any thoughts?
Posted by:
Ram
16 years ago
Posted by:
tbirdfiver
16 years ago
Ok, new news.
I have been in contact with Winzip Tech Support. Here is their info.
The "/A Admin Install" is currently NOT working. Winzip Tech Support has escalated it to "Development" who have not responded back to TS. Also, "Development" are the ones that deal with MSI. Unfortunately, they have not passed their info down to the Tech Support guys, as TS reports "their knowledge is limited". They are even unable to read MST files. Interesting, a vendor releases a MSI for their software, and then doesn't train their TS department. Oversight at best, sloppy at worst.
For now, to get around the issue, you must move the INSTALLCMD line with ALL of the command arguments, to the actual command line. You can't put them in a transform, the transform causes the "Winzip Setup Wizard" to run, which then "breaks the silence".
Here is my new command line. Add this to the procedure I have listed in my past thread
C:\WINDOWS\system32\msiexec.exe /i "winzip111.msi" INSTALLCMD="/noqp /noc4u /notip /nopredefinedjobs /nojobrunprompt /autoinstall" ADDDESKTOPICON=O ADDSTARTMENU=0 ALLUSERS=2 /lvie WinZip11.log /QN
I wish all of you luck. Take it easy.
I have been in contact with Winzip Tech Support. Here is their info.
The "/A Admin Install" is currently NOT working. Winzip Tech Support has escalated it to "Development" who have not responded back to TS. Also, "Development" are the ones that deal with MSI. Unfortunately, they have not passed their info down to the Tech Support guys, as TS reports "their knowledge is limited". They are even unable to read MST files. Interesting, a vendor releases a MSI for their software, and then doesn't train their TS department. Oversight at best, sloppy at worst.
For now, to get around the issue, you must move the INSTALLCMD line with ALL of the command arguments, to the actual command line. You can't put them in a transform, the transform causes the "Winzip Setup Wizard" to run, which then "breaks the silence".
Here is my new command line. Add this to the procedure I have listed in my past thread
C:\WINDOWS\system32\msiexec.exe /i "winzip111.msi" INSTALLCMD="/noqp /noc4u /notip /nopredefinedjobs /nojobrunprompt /autoinstall" ADDDESKTOPICON=O ADDSTARTMENU=0 ALLUSERS=2 /lvie WinZip11.log /QN
I wish all of you luck. Take it easy.
Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
so that the conversation will remain readable.