Restrictions
Project Icon must be 32x32 16 colors or 16x16 16 colors
When Adding to your project avoid these system files:
SHELL32.DLL
USER32.DLL
GDI32.DLL
KERNEL32.DLL
If you include a DLL file which is dependent on another DLL and this file is missing an error will be generated and the executable will not run.
Under normal circumstances, VB-PowerWrap creates its temporary files in the same directory that your program is installed in. However, when your program runs from a CD or a floppy this isn't possible. The alternate method uses the Windows TEMP directory Although this poses little problem for most programs, a few programs look for their data relative to the program itself, which can cause difficulties. Most such programs can be told to look elsewhere for their information.
When Executing from CDROM VB-PowerWrap will pass the drive via the command line.
/CDROM=Drive
Installing your wrapped program under Vista
We recommend having your installer add information to the users registry allowing the wrapped program to run as admin.
Here is the registry information.
HKEY_CURRENT_USER
\Software\Microsoft\Windows NT\CurrentVersion\AppCompatFlags\Layers
for name have your installer give the path and executable name. ex: C:\Program Files\MyProgram\project1.exe most installers have this in a variable.
Type: REG_SZ
Value: RUNASADMIN
If you do not do this then the user can do it two ways in Vista.
- Have the user right click on the protected program, Select "Properties", click on the "Compatibilty tab"
then check "Run this program as am administrator"
- User can also run the "Compatibility Wizard".
|