Managed Install - MSI inside a ZIP
I'm having a bit of trouble with a MSI package + files which I've wrapped into a ZIP.
The Agent is downloading and extracting the ZIP without issue, however when it comes to running the MSI I just get the Help Dialog as if I'd just run"mymsi.msi /?"
My Run parameter is set to "msiexec.exe /i "my msi name.exe" /qn".
The only way I can get it to work is to either include the Full path (ie: "msiexec.exe /i "C:\Program Files\KACE\KBOX\downloads\1077\my msi name.msi" /qn") which is fine or put a Batch file inside the ZIP with the command.
I haven't had to do that with any of my other Managed installs using ZIPs. The others I have just had to put "Setup.exe" into the Run parameters.
Is this just because this one is a MSI?
The Agent is downloading and extracting the ZIP without issue, however when it comes to running the MSI I just get the Help Dialog as if I'd just run"mymsi.msi /?"
My Run parameter is set to "msiexec.exe /i "my msi name.exe" /qn".
The only way I can get it to work is to either include the Full path (ie: "msiexec.exe /i "C:\Program Files\KACE\KBOX\downloads\1077\my msi name.msi" /qn") which is fine or put a Batch file inside the ZIP with the command.
I haven't had to do that with any of my other Managed installs using ZIPs. The others I have just had to put "Setup.exe" into the Run parameters.
Is this just because this one is a MSI?
0 Comments
[ + ] Show comments
Answers (9)
Please log in to answer
Posted by:
Arcolite
13 years ago
Our K1100 is running v5.2.38773 and we're pushing out v5.1.38724 of the Agent.
Using the advice from above I tried using $KACE_DEPENDENCY_DIR in the Configure Manually part of the Run Command. I found that this didn't seem to run the MSI.
The KBOT_LOG on the machine looks like it did everything correctly, however nothing actually installs. There are no errors reported in the Windows Event Log either.
I have tried: msiexec.exe /i "$(KACE_DEPENDENCY_DIR)\Smart Notebook.msi" /qn
and also: msiexec.exe /i "$(KACE_DEPENDENCY_DIR)\Smart Notebook.msi" /qn TRANSFORMS="$(KACE_DEPENDENCY_DIR)\smartnotebook10_7admin.mst"
Which is taken direct from the SMART Notebook deployment instructions.
If I use: msiexec.exe /i "Smart Notebook.msi" /qn /T:"smartnotebook10_7admin.mst"
It will install if I change it to: msiexec.exe /i "Smart Notebook.msi" /qn /T:"smartnotebook10_7admin.mst"
BUT my transform isn't applied.
I don't think there is anything wrong with our setup as such because so far I have always found a way to install what I need.
It's more trying to understand how it "should" work so I can follow the same process each time.
Using the advice from above I tried using $KACE_DEPENDENCY_DIR in the Configure Manually part of the Run Command. I found that this didn't seem to run the MSI.
The KBOT_LOG on the machine looks like it did everything correctly, however nothing actually installs. There are no errors reported in the Windows Event Log either.
I have tried: msiexec.exe /i "$(KACE_DEPENDENCY_DIR)\Smart Notebook.msi" /qn
and also: msiexec.exe /i "$(KACE_DEPENDENCY_DIR)\Smart Notebook.msi" /qn TRANSFORMS="$(KACE_DEPENDENCY_DIR)\smartnotebook10_7admin.mst"
Which is taken direct from the SMART Notebook deployment instructions.
To install SMART Notebook software
Run the following command if you created an MST file to customize the installation package:
msiexec /i "[Path]\SMART Notebook.msi" TRANSFORMS="[MST File]"
[Parameter]
If I use: msiexec.exe /i "Smart Notebook.msi" /qn /T:"smartnotebook10_7admin.mst"
It will install if I change it to: msiexec.exe /i "Smart Notebook.msi" /qn /T:"smartnotebook10_7admin.mst"
BUT my transform isn't applied.
I don't think there is anything wrong with our setup as such because so far I have always found a way to install what I need.
It's more trying to understand how it "should" work so I can follow the same process each time.
Posted by:
cblake
13 years ago
Posted by:
Arcolite
13 years ago
Posted by:
dchristian
13 years ago
Posted by:
scottlutz
13 years ago
Posted by:
dchristian
13 years ago
Posted by:
Roonerspism
13 years ago
You could always try and add
$(KACE_DEPENDENCY_DIR)\
In front of your msi path. I use this for Scripted installs when I need to call a file and delete it.
Also remember you dont need to encase the second set of quotes. The run paramater for you (I believe) would be:
msiexec /i "$(KACE_DEPENDENCY_DIR)\Your MSI Name.msi" /qn
and you would set it to 'Configure Manually'
Let us know how you go.
Cheers,
Col
$(KACE_DEPENDENCY_DIR)\
In front of your msi path. I use this for Scripted installs when I need to call a file and delete it.
Also remember you dont need to encase the second set of quotes. The run paramater for you (I believe) would be:
msiexec /i "$(KACE_DEPENDENCY_DIR)\Your MSI Name.msi" /qn
and you would set it to 'Configure Manually'
Let us know how you go.
Cheers,
Col
Posted by:
dchristian
13 years ago
Posted by:
cblake
13 years ago
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.