S
Stokrotka
I have written program in Microsoft Visual Basic 2008 Express Edition.
Program use directory with a lot (more then 500) files.
I want to send this program to my private www.
So far I zipped it together (program.exe and directory with files), and
after unzipped it program run correctly, but it
isn't good way of installation, for example it wasn't possible to uninstall
it by one click of mouse.
So I want to used Microsoft program to make installation version by
Build/Publish.
I read about name_of_file.vscontent and about anything.vsi ,
but without positive result.
At first something said that there is no any file,
now installation program don't say anything, but at place where is program
after installation and near, there isn't any file from this directory with
more then 500 files.
So I thing, that publish program don't copy any file from project to
installation
version or ,
installation program don't copy file from installation program to place
where program is after instalation.
There are two examples in help,one of them is:
<VSContent xmlns="http://schemas.microsoft.com/developer/vscontent/2005">
<Content>
<FileName>MyProjectTemplate.zip</FileName>
<DisplayName>Sample Project Template</DisplayName>
<Description>A project template created for this
example.</Description>
<FileContentType>VSTemplate</FileContentType>
<ContentVersion>2.0</ContentVersion>
<Attributes>
<Attribute name="ProjectType" value="Visual Basic"/>
<Attribute name="ProjectSubType" value=""/>
<Attribute name="TemplateType" value="Project"/>
</Attributes>
</Content>
</VSContent>
____________
I test it but I :
1. create sylabyinstal.vscontent file from txt file and import it to project
VB2008, but VB2008 understands it I think, because used colours in it.
2. change 2005 to 2008,(at first line)
3. change lines to this:
<FileName>sylaby.zip</FileName>
<DisplayName>nazwa instala</DisplayName>
<Description>opis instala.</Description>
4. change line to this:
<Attribute name="ProjectType" value="Item"/> ????????????
5. delete
<Attribute name="ProjectSubType" value=""/> ??????????
<Attribute name="TemplateType" value="Project"/>??????????
Next I have my sylaby.zip file and sylabyinstal.vscontent file , and I
zipped it together. (?)
Next I change .zip to .vsi
Next I copy sylaby.vsi to project directory. (??, copy sylaby.zip to project
directory?)
Next I published my program by build/published
Next I install my program.
And in program directory there aren't any sylaby file.
I think I have bad attributes but I don't know what is bad.
Program use directory with a lot (more then 500) files.
I want to send this program to my private www.
So far I zipped it together (program.exe and directory with files), and
after unzipped it program run correctly, but it
isn't good way of installation, for example it wasn't possible to uninstall
it by one click of mouse.
So I want to used Microsoft program to make installation version by
Build/Publish.
I read about name_of_file.vscontent and about anything.vsi ,
but without positive result.
At first something said that there is no any file,
now installation program don't say anything, but at place where is program
after installation and near, there isn't any file from this directory with
more then 500 files.
So I thing, that publish program don't copy any file from project to
installation
version or ,
installation program don't copy file from installation program to place
where program is after instalation.
There are two examples in help,one of them is:
<VSContent xmlns="http://schemas.microsoft.com/developer/vscontent/2005">
<Content>
<FileName>MyProjectTemplate.zip</FileName>
<DisplayName>Sample Project Template</DisplayName>
<Description>A project template created for this
example.</Description>
<FileContentType>VSTemplate</FileContentType>
<ContentVersion>2.0</ContentVersion>
<Attributes>
<Attribute name="ProjectType" value="Visual Basic"/>
<Attribute name="ProjectSubType" value=""/>
<Attribute name="TemplateType" value="Project"/>
</Attributes>
</Content>
</VSContent>
____________
I test it but I :
1. create sylabyinstal.vscontent file from txt file and import it to project
VB2008, but VB2008 understands it I think, because used colours in it.
2. change 2005 to 2008,(at first line)
3. change lines to this:
<FileName>sylaby.zip</FileName>
<DisplayName>nazwa instala</DisplayName>
<Description>opis instala.</Description>
4. change line to this:
<Attribute name="ProjectType" value="Item"/> ????????????
5. delete
<Attribute name="ProjectSubType" value=""/> ??????????
<Attribute name="TemplateType" value="Project"/>??????????
Next I have my sylaby.zip file and sylabyinstal.vscontent file , and I
zipped it together. (?)
Next I change .zip to .vsi
Next I copy sylaby.vsi to project directory. (??, copy sylaby.zip to project
directory?)
Next I published my program by build/published
Next I install my program.
And in program directory there aren't any sylaby file.
I think I have bad attributes but I don't know what is bad.