Oscar, thanks for the help. I looked at your plugin and other and came with my version but I have one problem. Instead of the files being created in the ram drive (b:) documents and settings folder they end up in the cd (x:) part so the file is read only. I will post where are the files in the xp system and where I want them on the bartpe.
These are the folders in the xp machine:
C:\Documents and Settings\Nandy\Application_Data\AR_System\Home\ARCmds
C:\Documents and Settings\Nandy\Application_Data\AR_System\Home\AlertxEv
C:\Documents and Settings\Nandy\Application_Data\AR_System\Home
C:\Program Files\AR_System\Alert\resdlls\0009
C:\Program Files\AR_System\Alert\License_Agreements
C:\Program Files\AR_System\Alert
This is where I want them on the bartpe
b:\Documents and Settings\Nandy\Application_Data\AR_System\Home\ARCmds
b:\Documents and Settings\Nandy\Application_Data\AR_System\Home\AlertxEv
b:\Documents and Settings\Nandy\Application_Data\AR_System\Home
x:\Program Files\AR_System\Alert\resdlls\0009
x:\Program Files\AR_System\Alert\License_Agreements
x:\Program Files\AR_System\Alert
The program files folder files went fine, but the files that I wanted in the ram drive b: end up also in the x: read only drive.
Here is my plugin:
QUOTE
; PE Builder v3 plug-in INF file
; Created by Bart Lagerweij
;
http://www.nu2.nu/pebuilder/;
[Version]
Signature= "$Windows NT$"
[PEBuilder]
Name="BMC Remedy Alert"
Enable=1
Help="\"
[WinntDirectories]
a="@ProfilesDir@",3
b="@ProfilesDir@\fq2606\Application_Data\AR_System\Home",3
c="@ProfilesDir@\fq2606\Application_Data\AR_System\Home\AlertxEv",3
d="@ProfilesDir@\fq2606\Application_Data\AR_System\Home\ARCmds",3
e="Programs\AR_System\Alert",2
f="Programs\AR_System\Alert\License_Agreements",2
g="Programs\AR_System\Alert\resdlls\0009",2
[SourceDisksFiles]
files\Home_from_doc-set\*.*=b,,1
files\Home_from_doc-set\AlertxEv\*.*=c,,1
files\*.*=e,,1
files\License Agreements\*.*=f,,1
files\resdlls\0009\*.*=g,,1
[Append]
nu2menu.xml, alert.xml
Is what I want possible? If so what am I doing wrong?
Other than that the program is working, but it cant write to the ini file and the other folders that are supposed to be in the document and settings folder.