Symbian
Symbian OS Library

FAQ-0351 Can I make the use of makesis any easier?

[Index][spacer] [Previous] [Next]



 

Classification: General Category: Tools
Created: 10/22/99 Modified: 09/11/2002
Number: FAQ-0351
Platform: Not Applicable

Question:
Can I make the use of makesis any easier?

Answer:
It is possible to set up Windows® so that you can right-click on .PKG source files for makesis and from the resultant menu compile the file with makesis in order to create a .SIS file for installing your application. We recommend the following:

1. Open Windows Explorer
2. Select Menu | View | Option | File Types
3. Select the New Type... button
4. In the Description field, enter 'Makesis Script File'. Set the associated extension to PKG
5. Under the Actions section, click the New... button
6. In the resulting dialog, type open as the action and then set the Application used to perform the action to notepad.exe "%1" - enter it exactly like that, including the quotes marks around the %1.
7. Click OK
8. Now add another new action. This one should be called 'Compile'. What you enter into as the Application used to perform the action will differ depending on whether you have Windows NT or Windows 95/98:

· If you are running Windows NT, you should enter cmd.exe /c makesis "%1" - again, be sure to enter that exactly as shown.
· If you are running Windows 95/98, you should enter command.com /c makesis "%1"

9. Click OK
10. Click Close
11. Finally, click Close on the main 'File Types' dialog too.

You will now be able to double click on PKG files to edit them in Windows Notepad, but also right click and then select 'Compile' to automatically compile them. The output SIS file will be placed in the same folder as the PKG file using this method.