Old 30th April 2011, 02:30   #1
PeerMedia
Junior Member
 
Join Date: Apr 2011
Posts: 1
Decompressing Bug?

I'm trying to create a simple bundle where I execute 2 exe's, one after the other. Very simple script:
File "One.exe"
ExecWait '"$INSTDIR\One.exe"'
File "Two.exe"
ExecWait '"$INSTDIR\Two.exe"'

One.exe is a third party software, works perfectly fine when run on its own.
Two.exe is mine, works perfectly fine when run on its own.

When I create a merged bundle of the two programs, the NSIS installer gets stuck in some sort of loop which keeps spawning One.exe (hundreds of times) and the only thing that's visible (although flashing rapidly) is a Decompressing progress bar. There isn't even a loop defined in my nsis script. Looking at the list of processes running, I see 1 instance of my installer and hundreds of instances of One.exe launching.

When I remove the bundling and just put One.exe, same thing happens. Creating a wrapper around One.exe seems to cause some sort of infinite loop trying to spawn One.exe. Although running One.exe as a standalone works perfectly fine.

Has anyone seen such a thing? Any ideas on how to diagnose? I don't want to provide the One.exe file here as it gets so bad you'll need to reboot your PC.

Thanks.
PeerMedia is offline   Reply With Quote
Old 30th April 2011, 05:35   #2
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
You should at least share a minimum script that shows this issue, otherwise there's not much we can say. Please use http://pastebin.com/ to paste large amounts of code.
MSG is offline   Reply With Quote
Reply
Go Back   Winamp & Shoutcast Forums > Developer Center > NSIS Discussion

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump