I'm new to the K1000, but I've gotten the hang of it quickly. I'm having problems with my deployment of the Smart Notebook software though. I have a folder with the setup MSI, MST answer file, registry files for activation, etc...and I've been manually running a batch file that will do everything just fine.

My batch file:

@ECHO OFF
ECHO SMART NOTEBOOK IS INSTALLING. DO NOT CLOSE THIS WINDOW. 
ECHO -Department of Technology


msiexec /i "I:\ssc\MIS\SFigg\Software\SMARTgallery\install.msi" TRANSFORMS="smart.mst" RESPONSE_ACTIVATION="I:\ssc\MIS\SFigg\Software\SMARTgallery\SRS.reg" /qb
regedit /s "I:\ssc\MIS\SFigg\Software\SMARTgallery\SRS.reg"


Now, I've had to change that for K1000 deployment since it won't work with drive letters. I've put all my files (and gallery folder) all in one location, and changed the batch file to this:

msiexec.exe /i "install.msi" /qb TRANSFORMS="smart.mst"
copy "SMARTBoardService.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SMARTBoardService.lnk"
copy "SMARTBoardTools.lnk" "C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Startup\SMARTBoardTools.lnk"


In the install manager, I've forced these paths:

Install directory: C:\Program Files\SMART Technologies\Education Software
Gallery content source location: "Gallery Data Files"  (this should be in a folder called "Gallery Data Files" in same directory as install)
Gallery destination: C:\Users\Default\AppData\Local\SMART Technologies Inc\


So I run it, and it seems to install Notebook just fine - but it fails on the gallery part, saying it can't locate that path. I've also tried "\Gallery Data Files" and had the same problem.


The way I've been deploying is to take all those files/folders, zip them up - upload it to the software section - make it online, run as local admin account....then I made a script to push it out to 1 test machine for now.

Does anyone have any ideas on how to get this to work properly that is familiar with the software?

0 Comments   [ + ] Show Comments

Comments

Please log in to comment

Answers

Rating comments in this legacy AppDeploy message board thread won't reorder them,
so that the conversation will remain readable.
0

You might try adding a "start /wait" in front of the msiexec statement.  The MSI is being installed in the background and before the directories are being created you are trying to copy files to them.

Answered 02/10/2012 by: jrscribner
Purple Belt

Please log in to comment
0

The install starts working fine and the MSI seems to execute properly - but when it comes to the gallery installation, it says "Cannot find the source for this gallery".

This is where I configure the location:
http://dl.dropbox.com/u/119117/gallery.PNG

It's in a folder called "Gallery Data Files" one level above the MSI and everything....so I've trieid these:

"Gallery Data Files"
\Gallery Data FIles
$(KACE_DEPENDENCY_DIR)\Gallery Data Files

None of these seem to work though...so I'm not sure what to set it as.

Answered 02/10/2012 by: sfigg
Red Belt

Please log in to comment
0

Note about your screenshot- $(KACE_DEPENDENCY_DIR) variable is a Kace variable and has no usage outside of a Kscript.

Have you tried zipping all contents and pushing it the a managed install under the distribution module? An alternate method...

I'd love to look at it with you if you need help. PM me and we'll sort it out.

Answered 02/11/2012 by: cblake
Tenth Degree Black Belt

Please log in to comment
0

I agree with Chris, a managed install would be the way to go.  (That plus some smart labels and you can watch the machines do your work for you [:D])

That said...

Just to make sure I am reading that correctly, the gallery folder you are specifying is in the SMART installer setup?  My first thought would be ".\Gallery Data Files" but I have had problems referencing files in the KACE directory before.  Two other ideas that come to mind, you could see what ID is assigned to your installer by the KBOX (see what folder it downloads to) and reference the full path or use a network drive by using net use to temporarily map one.

Casey

Answered 02/16/2012 by: cmccracken
Orange Belt

Please log in to comment
0

cmccracken - Thanks for the reply - it's what I was hoping for. I've tried ".\Gallery" with no luck.

I did no know that each Software Installation package has a unique folder # - I knew it did - but didn't know it stayed the same. Is this just for installers or scripts? (i have the zip file for the "software" installer, then a script to execute it with different commands)...so if I change around the script and software installer - edit files/parameters, the folder will always be "6265" for me then unless I duplicate/delete/create a new installer? I could use the full path without a problem if that's the case - I just don't want it to change ever...since this Summer we'll be deploying it to 800 machines and need it to be the same on each.

(and I'll use a managed install later on - I'm just doing a machine here and there right now - not a big deal until this summer's 1000 system deployment). We may also use the k1000 client front end for them to request the install themselves - which will work as long as that "6265" folder never changes for anyone)


...and thanks for the help everyone - sorry, i've been crazy busy since last week and haven't had a chance to get on here to respond. But cmccracken has the exact understanding of what I'm trying to do along the lines of ".\Gallery". I've successfully gotten it to work if I use a network shared path like \\10.100.8.8\Gallery ....but I don't want to rely on a server for the gallery pushout - I'd rather have the whole thing reside on their machine if possible.

Answered 02/16/2012 by: sfigg
Red Belt

Please log in to comment
0

Would the gallery always be run from the KACE directory, or is that just the starting spot to have it copied from?  I ask because when an agent upgrades, it deletes all of the downloaded files.

As far as I know (and have seen), the ID will stay the same for software and scripts as long as you keep using that same "item".  The contents can change, but as long as a new database record isn't created, you will have the same ID and same folder.

Casey

Answered 02/16/2012 by: cmccracken
Orange Belt

Please log in to comment
0

The gallery files are copied to another local directory, so I wouldn't be worried about that original "6265" folder being deleted. I tested this, and it works great - however, once it gets done copying the gallery files, I get an error "gallery source cannot be located". I have to hit "OK", then it finishes up the install. Really stupid, since it installs just fine - I was hoping to have a zero interaction install for users, but it doesn't seem like it's going to work that way - if I run this outside of kace it seems to work fine - executing the msi through a batch file.

Answered 02/17/2012 by: sfigg
Red Belt

Please log in to comment
0

That error is generated by the MSI, correct?

Casey

Answered 02/17/2012 by: cmccracken
Orange Belt

Please log in to comment
0

Correct. During installation, the last step is to copy the gallery files. A new window opens up showing the progress, and it finishes (or gets to 99% or something), and then a see an error saying it cannot locate the source for the gallery - but I hit OK and the gallery is still there. I'm not sure if it completes whatever may be left (activation?), but it installs the gallery correctly while still erroring out after

Answered 02/17/2012 by: sfigg
Red Belt

Please log in to comment
0

Does it succeed if you run your setup file from the KACE directory manually?

Casey

Answered 02/22/2012 by: cmccracken
Orange Belt

Please log in to comment
0

I run it manually and it still gives me an error...I'm looking into it now - may be a problem with my MSI, but I'm not too worried about it at the moment - priorities have changed a bit this week :)

Answered 02/23/2012 by: sfigg
Red Belt

Please log in to comment
0

How large is the full package?  It almost sounds like some of the gallery didn't get copied.

Good luck with the other fires.

Casey

Answered 02/23/2012 by: cmccracken
Orange Belt

Please log in to comment
0

The full package is close to 900mb. However, I'm testing this MSI outside of KACE, and we've always run it in /QN ....which is why we've never seen it error out. If I run it as /QB, I see the same error - but I believe the error is irrelevant, since we've manually installed it with the /QN switch through a batch file dozens of times without a problem - so I think pushing it through KACE with the /QN switch will work out fine :) Sounds like a stupid error, but rather have it be that than something that isn't able to be solved!

Thanks for all the help guys - the K1000 can be quite overwhelming at first, especially when I've tried pushing this big package out during my first day of using it :) hah

Answered 02/23/2012 by: sfigg
Red Belt

Please log in to comment
Answer this question or Comment on this question for clarity