×
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Contact US

Log In

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips Forums!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.

Students Click Here

New Installer Package

New Installer Package

New Installer Package

(OP)
I need to create a new Installer package that will have these steps:

1)  Run a setup.exe to install a program.
2)  Run 2 .reg files to hack the registry.
3)  Copy several files to the client.
4)  Run another setup.exe to install a program on top of the first.
5)  Copy several more files to the client.
6)  Run another .reg file to hack the registry.

Is there an easy way to do this with Installer or can it only be done with the Script Editor?

Thank you very much in advance,
wardenlc

RE: New Installer Package

Yep...you'll definitely need to do this in the Script Editor side of SMS Installer.  But, using this will simplify some of your steps.

For example, you won't need to apply .reg files.  Instead you can use SMS Installer's functionality to apply the registry changes.

Rod Trent
http://www.myITForum.com - formerly SWYNK.com
Microsoft SMS Installer ISBN:0072124474
Admin911:SMS ISBN:0072130229
IIS 5.0: A Beginner's Guide - ISBN:0072133724
 

RE: New Installer Package

(OP)
Sorry I took so long to thank you, Rod, but I really appreciate your help.  

I have been writing scripts with the Script Editor.  I can write scripts and create executables that do what I want but when I try to distribute them with SMS, I get a 10003 error.  I looked up that error in TechNet and tried its suggestions to change the program to run under User Rights and to use UNC references instead of paths (Q263279).  I've also created several packages with different configurations to see if I could hit on a possible solution.

I don't know what else to try.   My site server is SMS 2.0 SP3 (Q235205) on W2K Advanced Server.  Does anyone have any thoughts on what may be causing my problem?  I'm at the end of my rope.

Thanks,

RE: New Installer Package

Changing to run with user rights might not work if the user doesn't have that rights to the bits of the registry that you're trying to change.

A better option is to run with admin rights, but select 'Use Windows NT client software installation account' - which you can set through  Site Settings> Component Configuration> Software Distribution Properties> General.

Make sure the account is a member of local admins on your workstation.

Although this won't work too well on changes to the user's profile - I usually split scripts into workstation and user components and deliver them seperately.

How are you setting the programs?

RE: New Installer Package

(OP)
Thank you for the response, RippleCom.  I tried as you suggested and even tried setting the Windows NT Client Software Installation to a Domain Admin account but I'm still having the same problem.

I've tried setting the program properties to run both the .exe and a .bat that I wrote that runs the .exe, on any platform, with either User or Admin rights (using the Win NT Client Software Installation account), and the default Advanced setting.  None of this seems to work.

There must be something else that I am missing.  Any help will be appreciated.

Thank you,
wardenlc

RE: New Installer Package

I'm assuming that any exe or bat that you're trying to call as a program is actually in the root of the folder that you defined in Package Properties> Data Source> Source Directory - and that you refer to it as a URL.

I've found before that the client doesn't like sub-folders.

It also doesn't like filenames with spaces.

When you are setting up the programs, I assume that you are able to browse for the exe or bat?

The command line for the program properties should refer to just an exe with any command line switches - no URL to the source directory - if you can't browse for it in program properties, chances are that it won't work.

If that doesn't work, I dunno...

RE: New Installer Package

(OP)
RippleCom,

Thank you for taking time to help me with my problem.  It is great to know that there are others out there willing to help.

I tried your suggestions, along with a lot of other things I read about, and still had problems.  I ended up calling Microsoft.  After a 2 1/2 hour call, they came up with an SMS Package, Program, and Advertisement configuration that worked.  I think part of my problem was changing more than one thing before an attempt at deployment.  

Thanks again,
wardenlc

Red Flag This Post

Please let us know here why this post is inappropriate. Reasons such as off-topic, duplicates, flames, illegal, vulgar, or students posting their homework.

Red Flag Submitted

Thank you for helping keep Tek-Tips Forums free from inappropriate posts.
The Tek-Tips staff will check this out and take appropriate action.

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members! Already a Member? Login

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close