Hi,
The installation depends on the screensaver, but basically you need to copy the ".scr" file to the "System32" folder. At the end of the installation, you might want to open the "Display Properties" Control Panel Applet to the Screen Saver tab and display your screensaver.
These are the steps you could follow:
1. In the Files and Folder page of AI, add your ".scr" file under "Windows Volume ->
Windows -> System".
2. Switch to the Custom Actions page and make sure the "InstallFinalize" item is visible in the tree control ("Show Standard Action -> Before Finalization -> InstallFinalize").
3. Add a new "EXE with Working Dir" Custom Action on the "InstallFinalize" stage. Set the following properties for it:
- Working Dir: depends on your screensaver (if it requires external files, for instance), but basically, it could be anything. Therefore, choose "Windows Volume -> Windows -> System" in the tree control.
- Full Path:
Code: Select all
RunDll32.exe desk.cpl,InstallScreenSaver [#Sample.scr]
Use the "Edit" button at the right of the "Full Path" text field and then the "File" button from the "Edit Custom Action Parameters" dialog to select the ".scr" file from your package.
- Execution Properties: "Asynchronous execution, ignore return code"
- Execution Condition: (Not Installed)
Hope this helps.
Regards,
Ionut
FOLLOW US
Get the latest news in Application Packaging