Showing posts with label issue. Show all posts
Showing posts with label issue. Show all posts

Wednesday, September 26, 2012

Error installing MSI from USB/DVD


I faced an issue installing Flash player from USB drive though it was installing fine when installed from local or network drive. I found out the issue and resolution and want to document here for all of you.

While installing the package, I got this error in the log files:

 

MSI (s) (44:C4) [14:06:35:318]: Source is incorrect. Volume label should be  but is SMSBOOT.

MSI (s) (44:C4) [14:06:46:956]: Source is incorrect. Volume label should be  but is SMSBOOT.

 

While analysing this, I realized that the disk label for my USB is SMSBOOT and this could be anything else for you on your USB or DVD.

I had added a file in my MSI through MST and it had created an entry in the Media table. This entry looked like this and this is the default entry which you get with the tool.

 
 

Behind the scene it was looking for a Blank labelled disk where this media is located but could not find it and it gave an error “Insert Disk”.

I removed the label from my USB drive and kept it Blank. It worked fine.

Just to get this you can do the following in your packages so that this issue does not come.

Just add DISK1 in the VolumeLabel Column for your added media as well. This will make it work for any labelled USB or DVD drive.
 
 

I hope this will help you to resolve your issues.

Tuesday, August 16, 2011

Shortcut creation issue in Installshield/WISE Package Studio


IIS Express 7.5 is a vendor MSI package and the MSI is created by WiX. Though there is no problem as such while

customizing this application, but I found an issue while adding a shortcut to this application.
While creating IIS Express 7.5 package recently, I faced an issue that I was not able to add shortcut in this

application.

This for the matter of fact I realized that the shortcut table did not exist in this application. The error which

I was getting was "Field shortcut of table shortcut: Error retrieving shortcut of table"
To get this error fixed, I added the shortcut table and following entries in _Validation table:



After adding this I added CreateShortcuts Action in InstallExecuteSequence Table at Sequence 4500. This was

because, since there was no shortcut table, the sequence too was missing from MSI. Due to this the shortcut was

not getting created.

Once I did both these things, the application is installed fine with the shorcut.

This can be used with other missing tables as well. We need to add the entries in _Validation table for all the

tables which are missing for its every corresponding column.

Hope this will help you if you face similar issue in future.

Wednesday, August 10, 2011

Issues while launching and closing of App-V shortcuts

While launching your App-V shortcut, if you notice that the buffering launch on bottom right says 100% but the

launch does not disappear as per normal behaviour then you need to do some modification in your osd file.

This possible is a cause if your application is Java related. You need to modify the Subsystem value in your osd

file.
By default the osd file has this:

<subsystem VALUE = "windows"/>

You need to change this value to

<subsystem VALUE = "console"/>

If you face a similar problem while closing the application or your application does not close completely, then

you need to again tweek your osd file.

By default you have following in your OSD file:

<virtualenv TERMINATECHILDREN="FALSE">

You need to change the value as below:

<virtualenv TERMINATECHILDREN="TRUE">

This will terminate the any child application which is associated with this application and will help to shut

your application down.