i am trying to register files in an unsorted order in installshield Professional Edition.
in installshield when we add files they are arranged in sorted order but i want to register them in an unsorted order which i will defined.
how can i do that?
Please help
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.
Unsorted registration
Started by
shishircomp
, Sep 20 2006 08:04
1 reply to this topic
Posted 20 September 2006 - 14:35
If I understand your question about registering files in a specific order, then you can achieve that through InstallScript code.
To do this, I suggest modify the OnFirstUIAfter function/event with your custom registration code. To access this area, select "After Move Data" & "First UI After" from the drop-down toolbar menus.
For DLLs, that registration code would be the following:
To do this, I suggest modify the OnFirstUIAfter function/event with your custom registration code. To access this area, select "After Move Data" & "First UI After" from the drop-down toolbar menus.
For DLLs, that registration code would be the following:
CODE |
nResult = LaunchAppAndWait("regsvr32", "/s"+" "+szFilename, WAIT); |
where szFilename contains the DLL name along with its relative/absolute path.
For EXEs, that registration would be the following:
CODE |
nResult = LaunchAppAndWait(szProgram, " /regserver", WAIT); |
where szProgram contains the EXE name along with its relative/absolute path.
Continue making the appropriate calls until you've gone through your entire list of self-registering files.