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