This website uses cookies. By clicking Accept, you consent to the use of cookies. Click Here to learn more about how we use cookies.
Turn on suggestions
Auto-suggest helps you quickly narrow down your search results by suggesting possible matches as you type.
- Revenera Community
- :
- InstallShield
- :
- InstallShield Forum
- :
- Re: How can I Call, LaunchAppAndWait() after reboot?
Subscribe
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Subscribe
- Mute
- Printer Friendly Page
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 07, 2014
09:20 AM
How can I Call, LaunchAppAndWait() after reboot?
Hello There,
Is there any way to call LaunchAppAndWait after rebooting system.
here is the sample code:
if ( FindAllFiles ( WindowsFolder ^ "Microsoft.NET" ^ "Framework", "regasm.exe", svResult, RESET ) == 0 ) then
svPath = INSTALLDIR ^ "xxx" ^ "xxx"^ "obj.dll /codebase /tlb";
MessageBox("svpath : "+svPath,INFORMATION);
LongPathToQuote ( svPath, TRUE );
if (LaunchAppAndWait ( svResult, svPath, WAIT ) < 0) then
MessageBox (" Unable to launch " + svPath + ".", SEVERE);
endif;
endif;
I wanted to generate tlb file for a .NET dll. How it is prossible?
Please suggest.
NOTE: I do not want to use "RunOnce" as the dll file resides in INSTALLDIR. I cant hardcode the dll path in a batch file.
Thanks in advance,
//Jag
Is there any way to call LaunchAppAndWait after rebooting system.
here is the sample code:
if ( FindAllFiles ( WindowsFolder ^ "Microsoft.NET" ^ "Framework", "regasm.exe", svResult, RESET ) == 0 ) then
svPath = INSTALLDIR ^ "xxx" ^ "xxx"^ "obj.dll /codebase /tlb";
MessageBox("svpath : "+svPath,INFORMATION);
LongPathToQuote ( svPath, TRUE );
if (LaunchAppAndWait ( svResult, svPath, WAIT ) < 0) then
MessageBox (" Unable to launch " + svPath + ".", SEVERE);
endif;
endif;
I wanted to generate tlb file for a .NET dll. How it is prossible?
Please suggest.
NOTE: I do not want to use "RunOnce" as the dll file resides in INSTALLDIR. I cant hardcode the dll path in a batch file.
Thanks in advance,
//Jag
- Tags:
- install script
- reboot
(1) Reply
- Mark as New
- Subscribe
- Mute
- Permalink
- Report Inappropriate Content
Jul 22, 2014
08:37 AM
Finally I got some solution.
Its not that much difficult.
set BATCH_INSTALL = TRUE in your OnFirstUIBefore() function.
Then you can write your logic in OnRebooted() function.
Its not that much difficult.
set BATCH_INSTALL = TRUE in your OnFirstUIBefore() function.
Then you can write your logic in OnRebooted() function.
![](/skins/images/A5EADE085F77DE82FB3B14D6B307AE6A/responsive_peak/images/icon_anonymous_message.png)