I recently downloaded XPCreate and successfully slipstreamed SP-1 and the Hotfixes into the CD. I then created a user-controlled, unattended XP install CD. I have a small application (Rainlendar) that does not require an install, so I placed it in the \$OEM$\$Progs subdirectory.
The program copies to the hard disk and runs fine, but, the Program Files folder is now "read-only" and Rainlendar can not write to its .ini configuration file. Unattended installs from CDs created without XPCreate do not have this problem.
Any ideas? Thanks!!
Page 1 of 1
Read-Only Attribute XP Create & Read-Only Attribute
#2
Posted 30 December 2003 - 03:26 PM
I have Rainlender as well, and just noticed that if I was not logged on as administrator I had the same problem. I really don't see how XPCREATE effects the NTFS security descriptions, but nothing is impossible. I would think, however, that a member of only the Users group should not have write access to the program files directory. Anybody else having issues with this?
#3
Posted 03 January 2004 - 10:50 AM
I guess it's not XPCreate, but rather the file attributes. All of the files in Program Files\Rainlendar have the read-only attribute when copied from the $Progs folder on the CD. As a result, Rainlendar is unable to write to its .ini files. And I am logging on as an Administrator.
I added an attrib -r command to my cleanup.cmd file and that solved the problem.
The read-only attribute is a problem. Anyone have any ideas how to handle this correctly?
Thanks!
I added an attrib -r command to my cleanup.cmd file and that solved the problem.
The read-only attribute is a problem. Anyone have any ideas how to handle this correctly?
Thanks!
#4
Posted 03 January 2004 - 07:32 PM
Sounds like a bug. I don't think Microsoft has ever documented the $Progs folder, so Microsoft might say it's an unsupported way to distribute things. But it wouldn't hurt to bring it to M$ attention.
-gosh
-gosh
#5
Posted 22 October 2004 - 10:38 AM
Frank,
Could you post the code you put in your Cleanup.cmd file to fix the Rainlendar problem (the arribe -r command).
Thanks.
Could you post the code you put in your Cleanup.cmd file to fix the Rainlendar problem (the arribe -r command).
Thanks.
#6
Posted 22 October 2004 - 12:54 PM
Yes, it not a problem with XPcreate, but M$ problem.
To fix it I use next code in my clean.cmd
attrib -r "%PROGRAMFILES%\texter /s /d"
-r means to clear attributes (btw + means add, easy ah)
/s process all files into folder and subfolders
/d work with folders
hope it helps
moo
To fix it I use next code in my clean.cmd
attrib -r "%PROGRAMFILES%\texter /s /d"
-r means to clear attributes (btw + means add, easy ah)
/s process all files into folder and subfolders
/d work with folders
hope it helps
moo
- ← How do i disable Highlight newly installed apps?
- Unattended Windows 2000/XP/2003
- RunOnceEx issue →
Share this topic:
Page 1 of 1



Help

Back to top









