Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Rhinorhino on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

.MSI creator ? or alternatives 1

Status
Not open for further replies.

Pav1977

IS-IT--Management
Joined
Jul 5, 2006
Messages
59
Location
GB
Hi there - I'm deploying software on clients (XP and Win2000) using AD Windows Server 2003 - the only way I know how to do it is using Group Policy - Publishing or Assigning for either Computer or User. This means that I have to use the installs in .MSI packages - is there other way of doing it?
Regardless of that, does anyone know any good free MSI creators, or at least reasonably priced?

Thanks for all your help again guys!
 
If you are wanting to distribute .exe files, you can either create a MSI for it, as suggested by mark, using something like Orca, of you can install the EXEs dirrectly, however, you get less manageability. To do this you need to create a ZAP file accompaniment.

Taken from the MSDN on ZAP File Creation/Use

Creating .ZAP Files
Applications that do not use the .msi file format for the Windows Installer Service can be set up for distribution by creating a text file that has a .zap file extension. This method is not as flexible as .msi package files. If you have many applications that do not contain native Windows Installer packages, and you know that your organization plans to discontinue these applications, you can create software installation settings (.zap) files for the installation executable (such as Setup.exe or install.exe) files. Additionally, if you use custom applications that do not have Windows Installer support, but you plan to use them in the long term, .zap files might be your only choice. When you create .zap files, you do not benefit from the capabilities of Windows Installer. By creating .zap files, you wrap 32-bit or 64-bit Setup.exe files into a .zap file format that the software installation extension of Group Policy recognizes. This method allows you to publish the applications for users to install by using Add or Remove Programs.

Because these applications do not use Windows Installer setup programs, they do not do the following:

• Use elevated permissions for installation.

• Install a feature on the first use of the feature.

• Roll back an unsuccessful operation, such as install, modify, repair, or removal.

• Detect a broken state and automatically repair it.

• Implement customized installations (transforms).


Suggestions for Working with .zap Files
When you work with .zap files, consider the following:

• While applications that are installed by using .zap files run their original setup programs, they do not run with the elevated permissions that Windows Installer packages have. If installing the application requires administrative permissions, only users who have those permissions can install it.

• Because .zap files are typically created by using text editors, the files might have a .zap.txt file name extension. Make sure that the file name extension of a .zap file is only .zap (without the .txt extension). Also, make sure that any software installation file that you distribute by using GPOs does not end in .txt.

• If you have 64-bit clients, test 32-bit .zap applications to verify that you can install and run them on 64-bit clients. This is important because more .zap applications fail on 64-bit clients than on 32-bit clients.

• Unless you change the default behavior, 32-bit .zap applications are deployed so that they are not listed in Add or Remove Programs on 64-bit clients.


After Creating .zap Files
After you create a .zap file, copy it to the designated shared folders of the software distribution point servers. You can then use the software installation extension of Group Policy to publish the application in Add or Remove Programs in Control Panel. This makes the application readily available to users. You cannot customize .zap files by using transforms.

Creating a .zap File Example
The software administrators of the organization have identified a group of users who use an Excel template that is only compatible with Microsoft® Excel 97. Although all other users in the organization plan to upgrade to Microsoft® Office XP, this group of users must continue using Excel 97 until the end of this particular project. Excel 97 does not include a native .msi package file. After this project is completed, this organization has no further need for Excel 97.

To make sure that these users have Excel 97, the administrator performed the following tasks:

1.
Wrapped the setup program of Excel 97 into a .zap file.

2.
Copied it to the designated software distribution point servers.

3.
Created a GPO and published the software to that particular group of users.


The users who need Excel 97 can now go to Add or Remove Programs in Control Panel, and then download the software from a published list of applications.

To publish Excel 97 by using the existing Excel 97 setup program, only the three path-information lines are needed in a .zap file. The following example represents the .zap file that the software administrator created for the purpose of deploying Excel 97 to the users on this project.

Path information
Code:
<Application>
FriendlyName = " Microsoft Excel 97" 
SetupCommand="" \\server\share\Excel 97\setup.exe""
The path and the name of the .exe file are enclosed in quotation marks in the Application section. If there are no command-line arguments, the .exe file path and name must be enclosed in two sets of quotation marks. For

example:
Absolute path
Code:
SetupCommand=" \\"  /argument
SetupCommand="" \\""

Relative path
Code:
SetupCommand=""  /argument
SetupCommand=""""
Note
• When you create your own .zap file, modify the information in the preceding sample .zap file according to the application that you are managing and the location of your software distribution point.


sourced : Packing SOftware for Software Distribution with Group Policy


Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
OK so I've tried Orca on SDK - it appears that it's more for modifying existing once not creating new .msi from .exe files.
Question to Markdmac - have you actually ever created an msi from exe using orca? If so, could you put me on the right track as there is no such info in the help there.

Thanks and speak soon hopefully,

P
 
I have only used Orca to edit MSIs, but know some developers that have used it to create them.

There is a free utility built into Windows XP also but the name is escaping me and I think the thread it was discussed in has been archived. You may want to search in the XP forum and see if you can get bcastner to reply. I believe he was the one who had posted details on it.



I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
The Free MSI Packer with Windows 2000 Advanced Server, and Win Server 2003, is : WinInstaller LE

There is a great site about it HERE

Hope this Helps.

Neil J Cotton
njc Information Systems
Systems Consultant
 
The one I am thinking about is a wizard built into Xp that was very easy to use. I have used Wininstall LE and found it not as easy as the one whose name is escaping me at the moment.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
Mark I'd really appreciate if you remembered the name of the mystical XP-built in application. Even if it's next week or so.

Thanks again to all of you guys.
 
You didn't mean msiexec by any chance? Again seems like it only works with msi files when you're using it.

Take care,

P
 
No, not MSIEXEC, it wasa wizard type interface that allows you to pick files to build into and MSI. I searched my hard drive and for the life of me can'trecall which EXE it is. As I suggested though, I believe Bill Castner in the XP Pro forum should be able to help.

I hope you find this post helpful.

Regards,

Mark

Check out my scripting solutions at
 
If you have access or know someone who has access to SMS2003, it includes a free version of AdminStudio for building MSI packages. Also a previous version, WinInstall LE 2000, can be found on your Windows 2000 Server CD in directory \VALUEADD\3RDPARTY\MGMT\WINSTLE. Hope this helps
 
I could never figure out AdminStudio....

When I was at a previous job, we used the full version of WinInstall to deploy ~245 applications to more than 8000 users. Very cool. Everything from printer drivers to office apps.

Pat Richard, MCSE MCSA:Messaging CNA
Want to know how email works? Read for yourself -
 
The tools "hidden" in XP....Maybe someone should collect 'em and write a FAQ. Nice find Mark...I'll thank Bill later...
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top