![]() |
| |||||||
| Notices |
![]() |
| LinkBack | Thread Tools | Display Modes |
| | #1 (permalink) |
| Hi, This has probably been posted before, but seems that old postings aren't available to me at the moment. I created a new (test) component and a new repository for it. They both belong to the same newly created package and the component's repository attribute is assigned to the one I created for it. The Component DB manager can see the new repository and its supposed directory. But that directory doesn't exist when I open up Explorer, and when adding the component to a config in Target designer, it doesn't exist either. Thanks, apologies for the probably trite problem, SV | Guest
Posts: n/a
|
|
| | #2 (permalink) | ||
| For old problems archive use: http://groups.google.com/groups?hl=e...roup=microsoft. public.windowsxp.embedded I can't follow what you have done exactly. 1. How did you created folder for new repository? Trough explorer of CDBM created it during the import. 2. What happened to old component, its repository and do you use package option as well? 3. Do you need old test component? If not from CDBM delete all previous versions of component. Repository, and Package if you have created it. Then make a clean import. 4. If you have still problem write exact steps how did you imported your component and is it using old repository or new repository created by your new component. I understand why you have created new test component. What I don't understand why did you created new repository. Regards, Slobodan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell Microsoft! https://www.windowsembeddedeval.com/...ity/newsgroups ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SV" <svaccxa@hotmail.com> wrote in message news:ejS5hGyGEHA.2888@TK2MSFTNGP12.phx.gbl... Quote:
Quote:
| Guest
Posts: n/a
| ||
|
| | #3 (permalink) | |||||||||
| My overall objective is simply Proof of Concept - just to successfully make a component for a sample application (because the real application isn't ready yet). I just tried to do so again from scratch and got the same error, so I think I'm omitting a fundamental step somewhere. 1. I didn't directly create a folder for the repository. I just created a repository for my component through Component Designer (as per Ch. 6.11, Example 8 in the XPe Advanced text). When I imported the .sld file in the CDBM, I tried to import with the 'copy files to root repository' box checked, but the output was that nothing was copied. So I unchecked it and it said the files were copied. When I clicked on the tab to view the new repository object that should have been created with the import, it is there. It has an directory, but the directory doesn't seem to exist when I look at the drive through MS's file explorer. 2. I deleted the old component, a different .sld file (though both are for same application and use same component/repository/application names), and I deleted its package and repositories before I tried to import the second file. I did create a package for the component in the new .sld file. I should mention, I earlier renamed my computer because the original name had an underscore. Then I made the mistake of disabling network share permissions to my repository directory. Then I made the first .sld file. I realized the mistake and changed permissions back to readwrite, and realized it may have been the problem when I couldn't successfully import and use the first .sld file. When a reimport didn't work, I tried to just make a new file and do it again. 3. I believe I did that - delete everything from CDBM and reimport it. 4. Its using the new repository. Okay, my steps are: 1. Create a component a. Create package 'dummy' b. Create repository 'dummy' c. create group dependency to package 'dummy' e. point source to c:\dummy\dummy.exe (0bytes) f. create component 'dummy' g. assign repository 'dummy' to it. h. enable component instances are editable i. add group dependency to 'dummy' package j. add gruop dependncy to software>applicaitons>other k. add file to component: dummy.exe, source name= dummy.exe, destination %11%dummy.exe (release and debug enabled) l. no registry information (my actual sample doesn't seem to write to a key in reg), no build or component dependencies m. save it 2. Import - close all tools, open cdbm. a. select my .sld file b. import. i try first to do it with 'copy all files to repository root' enabled, but it doesn't work (says the follwoing files were not imported...), so i uncheck it. it says it works, and it indicates a new directory is created for the new repository under the repositories tab, but that directory isn't actually there. Why did I create a new repository (through CD)? Probably because I don't have a good grip on whats going on yet. Am I supposed to manually create a directory for a new repository and then indicate it during import? I thought the process was tool-driven. I'm surprised the import process wasn't indicated in this textbook (or maybe I've missed it somewhere). I can't thank you enough for your time, SV "Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message news:%23LSaq5yGEHA.1152@TK2MSFTNGP10.phx.gbl... Quote:
Quote:
Quote:
Quote:
Quote:
| Guest
Posts: n/a
| |||||||||
|
| | #4 (permalink) | |||||||||
| also, the new name of my computer is not a problem anymore because ive been careful to fix the name of the server whereever it appears. "Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message news:%23LSaq5yGEHA.1152@TK2MSFTNGP10.phx.gbl... Quote:
Quote:
Quote:
Quote:
Quote:
| Guest
Posts: n/a
| |||||||||
|
| | #5 (permalink) | ||||||||||||||||||||||||||||||||||
| Hi SV, Everything looks ok except that thing you have done with computer name. You don't need to do anything manually CDBM will create repository folders automatically. You should check that you have all privileged to both Repositories network share and local security. For test purposes only put everyone to have full control both for network and local security. And let us know how it went. Regards, Slobodan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell Microsoft! https://www.windowsembeddedeval.com/...ity/newsgroups ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SV" <svaccxa@hotmail.com> wrote in message news:#HXhJWzGEHA.576@TK2MSFTNGP11.phx.gbl... Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
| Guest
Posts: n/a
| ||||||||||||||||||||||||||||||||||
|
| | #6 (permalink) | |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
| "getting started books"? What is that? I want my books! Seriously there are no books with full product, you have online doc on MSDN that is most current. Also you have help online doc from TD, and you have this NG, that is it. Also you can buy books but not from MS. You should use: http://groups.google.com/groups?hl=e...roup=microsoft. public.windowsxp.embedded For answers on most of your questions. Regards, Slobodan ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Have an opinion on the effectiveness of Microsoft Embedded newsgroups? Tell Microsoft! https://www.windowsembeddedeval.com/...ity/newsgroups ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ "SV" <svaccxa@hotmail.com> wrote in message news:ea4Vkj$GEHA.2576@TK2MSFTNGP11.phx.gbl... Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
| Guest
Posts: n/a
| |||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
| | #7 (permalink) | ||||||||||||||||||||||||||||||||||||||||||||||||||||||
| Hi Slobodan Thanks for the sanity check and info. I reinstalled the tools and database, and put all XPe directories and my working dir under shared folders. I probably could have moved directories of my existing install and changed a config file somewhere to reflect the new paths, but I don't know where that config file might be, if it exists. So I can do an import now. I can't do a re-import (overwrite) (which mayn't be a wise idea anyway) because folders are all 'read-only'. After doing some homework, I discovered that this is "by-design" according to Microsoft and work-arounds are required to change the read-only property on folders. However, the files in those folders are read-write. I also discovered that this topic mayve been covered in the 'getting started' books shipped with software, but i'm only using trial s/w right now so didn't have them. thanks again SV "Slobodan Brcin (eMVP)" <sbrcin@ptt.yu> wrote in message news:eUvSlnzGEHA.1228@TK2MSFTNGP11.phx.gbl... Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
Quote:
| Guest
Posts: n/a
| ||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
![]() |
| Tags |
| None |
| Thread Tools | |
| Display Modes | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Application repository | Mir | Windows XP Embedded | 1 | 02-18-2004 06:16 PM |
| Repository explained | HennyK | Windows XP Embedded | 3 | 01-25-2004 01:21 AM |
| Repository Problem | Heidi Linda | Windows XP Embedded | 6 | 12-12-2003 08:16 AM |
| moving a repository | jim | Windows XP Embedded | 3 | |