Jump to content


This is a ready-only archive of the InstallSite Forum. You cannot post any new content here. / Dies ist ein Archiv des InstallSite Forums. Hier können keine neuen Beiträge veröffentlicht werden.
Photo

Migrating Dialogs from earlier versions of Windows Installer


1 reply to this topic

pfong

pfong
  • Members
  • 1 posts

Posted 23 January 2002 - 01:13

We were using Windows Installer 2.03 and have now migrated over to Developer 7.02.  Is there an easy  way to migrate over all the custom dialogs, bitmaps, over to Developer 7.02.

Thanks

pfong


Kurt Schneider

Kurt Schneider
  • Members
  • 98 posts

Posted 23 January 2002 - 18:53

Greetings,

Here is a pretty easy way to migrate a large quantity of Dialogs from 2.03 to 7.02.  In the Dialogs View of 2.03 you have an option to Export Dialogs to Resource Script.  This will create a ..\..\YourProject.rc file of your dialogs.  Then you run from the command line:

rc.exe "..\..\YourProject.rc".  

This will create a file called YourProject.res.  Next from the command line run:

link /DLL /NOENTRY /NODEFAULTLIB /MACHINE:iX86 /OUT:YourProject.dll YourProject.res

Now you have a Resource dll of all the dialogs in your 2.03 project.  In the dialog view in 7.02 there is an option to Import Dialogs from Resource dll.  Choose this and browse to the dll you created and all of the 2.03 dialog will be imported into your 7.02 project.

More information on creating the Resource Dll can be found in the 2.03 help file under the topic of "Export All Dialogs to an .rc file"

Good Luck

Kurt Schneider