Hi JJ,
It's referring to the sub routine Cleanup, here's the complete script, you can ignore most of the code, maybe I'm calling the sub routine incorrectly
===========================================================
' client script
Sub OnPreInstallFirst(Pub)
End Sub
Sub OnPreInstall(Pub)
'...
Hello all,
I wanted to adda subrouting to an existing script and when I added the following code, I received the "argument mismatch" error
Code
' This is a template for writing a subroutine that the "Execute Script"
' action will call on the client...
Hi mnvision,
Did you check the Systems Mgmt Props in control panel? Check the status of your hard and software inventory agents. If they show installed.
If these are installed check your event viewer > Application logs and examine the SMS Client source.
If this is SMS 2003 check the...
Hello, I'm working with an application that and it uses the localhost for IIS.
The problem I have is this app fails when run on a secured desktop.
I found the company has a GPO to restrict the IUSR_Machine account from logging on to the local system.
Works fine on an open machine, can...
Hello all!
I'm trying to repackage an application which runs fine on a normal XP desktop.
However, our environment has moved to a secure one where non admin users are restricted from key areas of the file system and registry.
This application performs it's initial install as administrator...
Hi, are you testing this in a lab environment?.
I would install SMS just as it was it on your old box.
Unregister the old server and give the new server the same name.
The SMS components, and SQL database should also be installed in the same locations as the old setup.
Use the same accounts...
Hi Ljg
Two things
1. If this app keeps repairing itself on the XP desktop,
couldn't you update your msi with a copy of this file?
2. if this file is listed in your components view,
couldn't you delete the keyfile which disables the self
repair feature?
Hope this helps!
Hi MarkDmac
Here's the registry data I want to add, which is something I can write up to this point.
I set this as a const and search for that const in the registry. If it doesn't exists the script adds the key...
Hello all,
Thanks for any suggestions on this item.
I have a tasks where I'm trying to add additional location data to the Telephony configuration on a WinXP machine.
Some clients have more than one location already configured and I would like to enumerate through those keys and add my...
Well, there are a couple of ways to run scripts via SMS.
I've actually seen folks run one line shell scripts from the command line.
As for larger scripts VB, java, etc, it's best to download and execute the script.
The name of the script should be included in the commandline
E'g...
Wow, your situation has one turn after the next :) this is where the scripting comes into play.
You could write, or possibly download a template of sorts to call the individual components.
You'll use the same script for each item only changing certain variables and script name per product...
Remove the '*' from your statement and try something like the following "Delete from table where "Column" = "criteria"
The "*" and "DELETE" command is a risky combination to use on the a database. I think it's a safty precaution where you need to be more specific.
Or you could copy...
Hi,
First thing I'd do is check the event viewer and examine the application log. If there are issues with the MsInstaller service they'll more than likely show up here.
You may need to re-install, or repair your Windows Installer componments due to some incompatibility, or corruption.
Good...
Hello gpsk
You want to change you install location for the modules by
1. selecting "redistributables" in the Installation
Designer" view.
2. Next place a check in the box next to the module who's
destination you want change.
3. This will bring up the merge module properties where...
Thanks for this information, that tablet PC thing does sound like a fun challange however, I'm going through the sofricity module and I'll see what I can do about getting a hold of SMS v4
Thanks again for the info....
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.