|
I am very confused about where the .exe actually is deployed to. I know it goes in the users cache (i.e. C:\Documents and Settings\kn854se\Local Settings\Apps\2.0....) but what I'm talking about is that the .exe appears to be in severa subfolders all in the same root level. So which one is the icon actually kicking off?
For example, on my machine the .exe has been copied to the following locations: C:\Documents and Settings\kn854se\Local Settings\Apps\2.0\EK3B24Q9.JN7\8ER3TGHB.D95\fdot..ient_b29a81f91567f86a_0001.0000_none_99f75eef76fa4242 C:\Documents and Settings\kn854se\Local Settings\Apps\2.0\EK3B24Q9.JN7\8ER3TGHB.D95\fdot..tion_d789cc5bcf7eb8a4_0001.0000_b641b2f0e34cb037 C:\Documents and Settings\kn854se\Local Settings\Apps\2.0\EK3B24Q9.JN7\8ER3TGHB.D95\fdot..tion_d789cc5bcf7eb8a4_0001.0000_be048c7a4bb1d737
What gives?
Santiago Perez | | SantiagoPerez Tuesday, September 22, 2009 3:43 PM | You may have several versions installed. check the file date.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- Marked As Answer byAland LiMSFT, ModeratorThursday, September 24, 2009 3:29 AM
-
| | Sheng Jiang 蒋晟 Tuesday, September 22, 2009 7:49 PM | Just FYI, it also usually creates two folders for each version. One has the manifest info and seems to be a temporary file repository for the deployment, and the other one has the exe and all of the dll's, and is where the application is launched from.
Also, sometimes the ClickOnce cache ends up with extra versions of one or both folders aside from the one or two you have deployed -- it just seems to be messed up sometimes.
We do a lot of QA builds, so there's a lot of churn in my ClickOnce cache, so once in a while I have 3 or 4 copies, because I'm deploying from different url's and so on.
You have one with fdot...ient and two with fdot...tion, which would make me think one of the ...tion folders is extra. If you have only deployed one version, or have forced an upgrade, there should only be one version there. BTW, with our app, the folder that has ...tion in it is the one with all of the dll's and assemblies, and it's where our app runs from.
RobinDotNet Click here to visit my ClickOnce blog!- Marked As Answer byAland LiMSFT, ModeratorThursday, September 24, 2009 3:30 AM
-
| | RobinDotNet Wednesday, September 23, 2009 12:59 AM | You may have several versions installed. check the file date.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP- Marked As Answer byAland LiMSFT, ModeratorThursday, September 24, 2009 3:29 AM
-
| | Sheng Jiang 蒋晟 Tuesday, September 22, 2009 7:49 PM | Ahhh.. Make perfect sense. Thank you. Santiago Perez | | SantiagoPerez Tuesday, September 22, 2009 8:18 PM | Just FYI, it also usually creates two folders for each version. One has the manifest info and seems to be a temporary file repository for the deployment, and the other one has the exe and all of the dll's, and is where the application is launched from.
Also, sometimes the ClickOnce cache ends up with extra versions of one or both folders aside from the one or two you have deployed -- it just seems to be messed up sometimes.
We do a lot of QA builds, so there's a lot of churn in my ClickOnce cache, so once in a while I have 3 or 4 copies, because I'm deploying from different url's and so on.
You have one with fdot...ient and two with fdot...tion, which would make me think one of the ...tion folders is extra. If you have only deployed one version, or have forced an upgrade, there should only be one version there. BTW, with our app, the folder that has ...tion in it is the one with all of the dll's and assemblies, and it's where our app runs from.
RobinDotNet Click here to visit my ClickOnce blog!- Marked As Answer byAland LiMSFT, ModeratorThursday, September 24, 2009 3:30 AM
-
| | RobinDotNet Wednesday, September 23, 2009 12:59 AM | I have a very interesting situation with one user's laptop. I am deploying SQLServer Express 2005 with the application as content for this initial launch. I have deployed several versions out the a URL. All users have been able to update to the latest version along with the latest version of the DB. This one user however only gets the first version of the database. I have uninstalled the program and all version from the laptop through Add Remove Programs then went into Local Settings > Apps and removed everything under there. Even uninstalled MSSQL 2005 through Add Remove Programs. Rebooted the PC. CLicked on the CLick once link to go and fetch the app for first time install and still got the first version DB rather than the latest. Even after shutting down the app and launching again, it dot not fetch any updates. This was done with a network admin account therefore I know it can't be an access issue.
Any ideas? WHat I'm going to try now is adding a label somewhere in the app for the version number to see what code version they are actually running.
Thanks for your help!
Santiago Perez | | SantiagoPerez Thursday, September 24, 2009 7:23 PM | I would doublecheck that he is getting the right version, and make sure you are definitely using the same link, and not one that points to an old location or something like that. The other thing you can try is copying mage.exe over to his machine and running it in a command window with the -cc option (mage.exe -cc). This clears the ClickOnce cache. I would think deleting the apps\2.0 folder would do the same thing, but maybe this does something to the registry settings as well. When you say he's getting the first version rather thanlater version of the data file, can you check the deployment server and make sure the database there is actually the right one? RobinDotNet Click here to visit my ClickOnce blog! | | RobinDotNet Friday, September 25, 2009 3:17 AM | What is mage.exe and where do I find it? As far as getting the latest database I know that the correct one is on the server because I updated another laptop at the same time and that one got the new version of the .mdf.
Santiago Perez | | SantiagoPerez Monday, September 28, 2009 2:32 PM | It is part of Windows SDK available for downloading at Microsoft's download center.
The following is signature, not part of post
Please mark the post answered your question as the answer, and mark other helpful posts as helpful.
Visual C++ MVP | | Sheng Jiang 蒋晟 Monday, September 28, 2009 4:16 PM | If you have it on your machine, it will probably be in c:\Program Files\Microsoft SDKs\Windows\v6.0a\bin. OTW you have to install the Windows SDK. RobinDotNet Click here to visit my ClickOnce blog! | | RobinDotNet Tuesday, September 29, 2009 3:30 AM |
|