MSI Installation :: The feature you are trying to use is on a network resource that is unavailable
Hello,
This query is in concern to installation of MSIs.
Backgroud-
I have one folder in which 3 subfolders have each different MSI means in total 3 MSIs.
a) ABC.MSI [Lets suppose ABC as an Application name]
b). Hot Fix.MSI
c). DEF.MSI [Lets suppose DEF as an Application name]
B i.e hotfix is dependant on A [ABC]. [explained below]
Install.xml has been written as-
<Run>
<Exec>%SystemRoot%\System32\Msiexec.exe /i "#PackagePath# \ FOLDER NAME \ SUB FOLDER NAME1 \ ABC.msi" transforms="#PackagePath# \FOLDER NAME \SUB FOLDER NAME \ XYZ.mst" /qb! /l* C:\Build\Logs\ABC.log</Exec>
</Run>
<Run>
<Exec>%SystemRoot%\System32\Msiexec.exe /i "#PackagePath#\ FOLDER NAME \ SUB FOLDER NAME2 \Hotfix.msi" /qb! /log C:\Build\Logs\Hotfix.log</Exec>
</Run>
<Run>
<Exec>%SystemRoot%\System32\Msiexec.exe /i "#PackagePath#\ FOLDER NAME \ SUB FOLDER NAME 3 \DEF.msi" transforms="#PackagePath#\ FOLDER NAME \ SUB FOLDER NAME 3\QWB.mst" /qb! /log C:\Build\Logs\DEF.log</Exec>
</Run>
<Run>
<Exec>%SystemRoot%\System32\ICacls.exe "%ProgramFiles%\ FOLDER NAME \ SUBFOLDER NAME \ SUB SUB FOLDER NAME " /Grant Interactive:M</Exec>
</Run>
//Just Above command is to give special access to SubFolder Name2 [created in Program Files > Folder Name 1 > SubFolder Name 2] and give access rights of Interactive group.
Issue-
On a clean built machine, when install.xml is executed-
1. It runs first MSI and installs ABC application nicely.
2. It runs second MSI and pop up comes that-
---------
The feature you are trying to use is on a network resource that is unavailable.
Click OK to try again, or enter an alternate path to a folder containing the installation package 'data1.msi' in the box below.
---------
** This pop up comes up with second MSI name and in popup down in Browse window, path seems to be incompleted and not as it is defined in INSTALL.xml.
In browse window, it comes with-
#PackagePath#\ FOLDER NAME \ SUB FOLDER NAME2 [Please see above second msi in install.xml]
And when I browse the path to SUB FOLDER NAME 2 and select HOTFIX.msi and click OK, it installs hotfix.MSI.
3. Lastly, It runs third MSI and installs DEF application nicely.
REGISTRY VALUES:
I checked registry values in-
HKEY_LOCAL_MACHINE > SOFTWARE > MICROSOFT > WINDOWS > CURRENT VERSION > UNINSTALL
and I found all MSI
DEPENDENCY:
I can not install second MSI straight forward. Before installing second msi [hotfix] I need to install first MSI and then it installs. If I install secone MSI, it gives some strange error.
NOTICEABLE::
If I remove all applications by amending install.xml and replacing /i with /x then each application is removed from REGISTRY as well.
But when I try to install again while changing /x to /i, then it installs all three MSI with out any error prompt.
I think that it creates some path value for second MSI from previous installation and uses the same path for installation and uninstallation for future purpose.
----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------
This is the case scenario at the moment and I tried to explain.
Can some one suggest or recommend me how to sort out this issue?
Thanks & Regards,
MSI Path
This message comes when Installer is not able to find MSI at mentioned location. You can try making local cached copy of the source before starting installation. Can you elaborate more about the type of package and hotfix? I wonder how hotfix is making entry registry even after giving installation error message.
You have created log for hotfix .msi installation,has installation created any log for hotfix.msi? we can get hint from that regarding issue.
I dont know how IMPOSEBLE spells
I don't know if I've mentioned it before...
...but have you considered using ProcMon to see what path the process is trying to access when that message pops up?
Have you tried basic trouble-shooting, like moving the MSI to a different location? Or using short names for the paths?
Don't know why 'x' happened? Want to know why 'y' happened? Use ProcMon and it will tell you.
Think about using http://www.google.com before posting.
Once again I will refer you to MSI.CHM
I have attached an extract from the help file MSI.CHM
In some situations, the original source of the MSI being patched or upgraded is required for successful completion of the patch or upgrade process, and the extract below shows the typical reasons for this.
One simple way to test whether this is the case, is to copy your original MSI to the local hard disk of your test machine, then install it from there, then try applying the second MSI. Since the source path of the first MSI is now local and still available, you should not get the error.
Finally, if you turn on verbose logging for the installation of the second MSI, the log may well tell you why the original source is required.
How can I prevent my patch from requiring access to the original installation source?
It is not possible to eliminate all circumstances under which the application of the patch may require access to the original installation source.
Adhere to following points to minimize the possibility that your patch will require access to the original source:
Source Requirements when Patching
Access to the original installation sources may be required to apply the patch in the following cases:
Consider the following example where Windows Installer requires access to the original source when applying a patch:
If your issue has been solved, please use the "Mark as Solution" link on the most relevant thread.
Would you like to reply?
Login or Register to post your comment.