Blogs

How to remove the files using remove file table in install shield 2012.

How to remove the files using remove file table. Also I want to delete my INSTALLDIR all files & folders how to do it remove file table. I did it in installscript some time it's deleting some time it's not deleting (due to admin rights ,UAC Enabling). That's why I'm asking about remove file table

Note : I'm using basic MSI project in install shield 2012. 

Be the first to comment

Modifying USMT and KACE to capture Firefox settings and other specific programs

It's that time in the hardware refresh cycle again where you have to replace laptops on mass, well at least it is for me.

Our main challenge was migrating users Firefox bookmarks and also the desire to capture Outlook signatures and auto-complete information without capturing all Office applications information (we wanted to start as fresh as possible).

I've never really dug in depth into the USMT and K2000 before now and I've found it in needed of a little massaging.

USMT Problem

The USMT definition XML file for applications (MigApp.xml) included with USMT 5.0 does provide support for many non Microsoft productions including Firefox, Chrome and Adobe Acrobat amongst other. The only problem is Microsoft hasn't had the inclination to keep it up-to-date.

Thanks to some clues from fellow ITNinja Jegolf, I found that the MigApp.xml is hard coded to look for Mozilla Firefox 3 (hello cira 2008).

USMT FIX: (assuming WAIK 8)

Edit the MigApp.xml files in both the C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\User State Migration Tool\amd64   and   C:\Program Files (x86)\Windows Kits\8.1\Assessment and Deployment Kit\User State Migration Tool\x86 folders.

The line to modify:

DEFAULT:  <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Mozilla\Mozilla Firefox 3.*\bin [PathToExe]")</condition>

MODIFIED: <condition>MigXmlHelper.DoesObjectExist("Registry","%HklmWowSoftware%\Mozilla\Mozilla Firefox *.*\bin [PathToExe]")</condition>


After making these modifications, re-upload the USMT tool into the K2000.

Now if you choose the User Data tick box under Documents To Be Scanned in the K2000 USMT Scan Template, any version of Firefox will correctly be migrated.


Firefox specific migration (and other) without migrating ALL User Data

In the K2000 USMT Scan Template, if you tick User Data then it migrates anything in the MigApp.xml template which is anything from Firefox to all Office components to Acrobat etc etc.

This is not particularly helpful if you want to be more granular about what you take to ensure you don't pass on redundant or out of date settings.

To customize the USMT Scan Template created in the K2000 is not as easy as it could be.

  • Create a KACE USMT Scan Template and customize it with any visible settings but DO NOT tick User Data
  • Export this USMT Scan Template from the Package Management area of the K2000
  • Browse to the <K2000>\restore Samba share and find the exported package
  • Extract the package with 7-Zip
  • Open the extracted file with notepad and copy the USMT XML component out to a new file.

        This begins with <Configuration> and ends with </Configuration>

  • Save this file with XML file extension
  • In the K2000, open your USMT Scan Template and under the Content Configuration tick Specify config file.
  • Browse and select the XML file you created and then Save the USMT Scan Template.

When you reopen this USMT Scan Template, the K2000 shows it in the Template GUI format but as this GUI is not aware of the Applications section of the config file it won't be displayed. It does exist and modifying and saving the USMT Scan Template will not overwrite it (an export of the USMT Scan Template proves this).


So, what have we learned:

a) Microsoft didn't bother fixing this Firefox version number hard coding in the MmigApp.xml file. This is possibly a problem for Chrome and other applications mentioned in it.

b) KACE USMT Scan Template GUI is not aware of Applications section of config file.

c) KACE USMT Scan Templates are ALL or nothing for applications. Granularity of applications already built into USMT (anything listed in MigApp.xml) would be better.

d) the 'Specify config file' option in the KACE USMT Scan Templates is ambiguous as to the required format of the config file. I only got this working when I exported a template from the KACE (thank KACE support as I wasn't aware you could extract the packages) and copied the XML.
The ability to directly save an example config or the current config out for modification would make it simple to add customisation.


Be the first to comment

Offload Kbox services / Replicas

I've seen that I can setup remote site replications, but in my environment I don't think that solution will really work best.  Is it possible to just offload a service such as the KACE updates to another appliance to reduce the load on my kbox 1000?  If I setup a few replicas on additional hardware here at the main office where my kbox is located will they balance their work load or would I need to set machines from different subnets to checkin to a specific server?

I've got 6300 machines connecting back to a single kbox, when I use all of the services it's causing major slowdowns... Each of my 30 remote locations have a 1gb backbone back to the main office where the kbox is located, bandwidth is not an issue for me.  Replicas might work, but many of the remote location have no servers or hardware that I can dedicate as a replica.

Thanks for any thoughts!
Be the first to comment

Creating a K1000 Smart Label based on services that are running

When creating a smart label for machines, there is no option to select services as a criteria.  There have been posts that have done similar things based on custom inventory fields, but there is a way to generate a smart label based on whether a service is running.  This is of course only as good as the last inventory reported, but still very useful.

1.  Create a new smart label with any criteria.  We will replace the SQL query for the label.  Here we will look for MS Exchange Services.

K7Tpiy.png

2. Next we need to Identify the service you want to check for.  Is this case we will use the Display Name of the service, but we could use the process name as well with a slightly different query.  Go to the device -> services and find  your service.  

qWKxcL.png

3. Next, edit your SQL statement for the smart label you created in step 1.

bAwhe4.png


4. Paste in the following SQL statement. (use your service Display Name in place of red text below).

SELECT MACHINE.NAME,
       MACHINE.IP,
       NTSERVICE.ID,
       NTSERVICE.STATUS,
       NTSERVICE.DISPLAY_NAME,
       MACHINE.MAC,
       MACHINE.SYSTEM_DESCRIPTION
  FROM (ORG1.MACHINE_NTSERVICE_JT MACHINE_NTSERVICE_JT
        INNER JOIN ORG1.NTSERVICE NTSERVICE
           ON (MACHINE_NTSERVICE_JT.NTSERVICE_ID = NTSERVICE.ID))
       INNER JOIN ORG1.MACHINE MACHINE
          ON (MACHINE_NTSERVICE_JT.MACHINE_ID = MACHINE.ID)
 WHERE (    NTSERVICE.STATUS = 'SERVICE_RUNNING'
        AND NTSERVICE.DISPLAY_NAME = 'Microsoft Exchange Information Store')

5.  Save your Smart Label and have your machines check in to get the label applied.

Enjoy!
Be the first to comment

What's in your User Console?

User Console customization is often an overlooked opportunity on the K1000, yet it can be a very powerful tool when used to its full potential. The text on the User Portal log in page can be edited by any administrator with the appropriate access to the Settings Tab on the K1000. While we can add just plain text into the User Console we also have the ability to add in HTML code. So, anything you can put in an HTML webpage you can place on the User Console for your Users to see before they log into the K1000, this is located under Settings ->General Settings.

With the ability to use HTML code on the User Console main page, and Knowledge Base, we can add links to the Company Newsletter which could be a knowledgebase article; we might add notifications on the Console that are related to known issues, such as an important server outage. Putting this information on the Console login page lets users know that we are aware of an issue minimizing the likelihood of creating additional tickets for a known issue.

Some other ideas we've seen in use include:

  • Video Log from the organization leadership
  • New product training
  • Company news
  • Service level agreement
  • News aggregators, and much more.

Be creative!

The abilities of the portal are limited only to your imagination, so brainstorm and experiment. Talk to your users and find out what’s useful to them. When we engage and inform users effectively, helpdesk calls decrease. Your  could be as valuable as an extra team member could be– letting the users self-service on some common needs can really free up some time for your team to focus on other projects and priorities, instead of telling someone how to change the toner in the printer…again…

So, here's my challenge to you- Leave YOUR examples in the comments. I'll show you mine, if you show me yours :)
Let's see what you guys are doing, and how you've leveraged the open nature of the Console. Haven't done it, but wish you could? Post that too!

Here I've embedded a little message window that they must click before even seeing a login:

KSrRJb.png

Here I've added a pretty little weather and blog (RSS) feed:

Fyn1DI.png

Here I got myself a nice little twitter feed widget:

O548q0.png

Not too exciting on here, but on my box, this is a scrolling marquee sign:

o0OwT9.png


I'd venture a guess that these aren't the most creative things out there- what are YOU doing?

Be the first to comment
Showing 1 - 5 of 2646 results