G
Guest
Hi All,
I have created a vb.net application setup.
The setup creates a short cut of the application in the desktop.
When i run my vb.net setup in windows 2003 machine with the following steps,
i got error.
1. I ran the setup to Install the application with Just me option. The setup
ran successfully.
2. I ran the setup to UnInstall the application with Just me option. The
setup ran successfully.
3. When i again ran the setup to Install the application with Just me
option. The setup gives me the following error
Error Message:
"F:\Documents and Settings\<User name>\Desktop" refers to a location that is
unavailable. It could be on a hard drive on this computer, or on a network.
Check to make sure that the disk is properly inserted, or that you are
connected to the Internet or your network, and then try again. If it still
cannot be located, the information might have been moved to a different
location.
My Observations:
In step 2,
2.I ran the setup to UnInstall the application with Just me option. The
setup ran successfully.
---> In here the msi checks for the application shortcut in the
"F:\Documents and Settings\<User name>\desktop" location. If it is there then
it deletes the application. And also if there are no files in the Desktop
folder (or if the desktop folder is empty) the desktop folder is getting
deleted automatically.
In Step 3,
3. When i again ran the setup to Install the application with Just me
option. The setup gives me the following error.
---> In here the msi checks for the desktop folder in the "F:\Documents and
Settings\<User name>\" location. And it is been deleted in step 2, it gives
the error.
Question:
1. Why does this happends? And how to prevent destop folder (if the desktop
folder is empty) during uninstall of the setup.
With Regards,
Anand
I have created a vb.net application setup.
The setup creates a short cut of the application in the desktop.
When i run my vb.net setup in windows 2003 machine with the following steps,
i got error.
1. I ran the setup to Install the application with Just me option. The setup
ran successfully.
2. I ran the setup to UnInstall the application with Just me option. The
setup ran successfully.
3. When i again ran the setup to Install the application with Just me
option. The setup gives me the following error
Error Message:
"F:\Documents and Settings\<User name>\Desktop" refers to a location that is
unavailable. It could be on a hard drive on this computer, or on a network.
Check to make sure that the disk is properly inserted, or that you are
connected to the Internet or your network, and then try again. If it still
cannot be located, the information might have been moved to a different
location.
My Observations:
In step 2,
2.I ran the setup to UnInstall the application with Just me option. The
setup ran successfully.
---> In here the msi checks for the application shortcut in the
"F:\Documents and Settings\<User name>\desktop" location. If it is there then
it deletes the application. And also if there are no files in the Desktop
folder (or if the desktop folder is empty) the desktop folder is getting
deleted automatically.
In Step 3,
3. When i again ran the setup to Install the application with Just me
option. The setup gives me the following error.
---> In here the msi checks for the desktop folder in the "F:\Documents and
Settings\<User name>\" location. And it is been deleted in step 2, it gives
the error.
Question:
1. Why does this happends? And how to prevent destop folder (if the desktop
folder is empty) during uninstall of the setup.
With Regards,
Anand