Old 8th January 2010, 22:36   #1
bludginozzie
Junior Member
 
Join Date: Jan 2010
Posts: 4
Unhappy DetailsPrint output

Hi,

I am sure there is an obvious answer to this but I just can't figure it out

How do you view the DetailsPrint output when using the MUI interface?

Thanks in advance!
bludginozzie is offline   Reply With Quote
Old 8th January 2010, 23:49   #2
Anders
Moderator
 
Anders's Avatar
 
Join Date: Jun 2002
Location: ${NSISDIR}
Posts: 5,449
same place as always, on the instfiles page (unless you force the show details button to be hidden)

IntOp $PostCount $PostCount + 1
Anders is offline   Reply With Quote
Old 9th January 2010, 00:55   #3
bludginozzie
Junior Member
 
Join Date: Jan 2010
Posts: 4
Thank Anders, in hindsight I probably asked the wrong question. Let me try again;

I have an installer running but I am having problems with the JRE detection on 64bit machines. I am using this script.

JRE Dynamic Installer

The script has DetailPrint statements that will tell me why the detection isn't working but I cannot figure out where to view them. Is there a way to view them during the wizard pages? Is there a better way to debug scripts? The tutorial talks about a Log Window but my installer doesn't have a log window (at least that I know of).

Any help in how best to debug scripts would be grately appreciated.
bludginozzie is offline   Reply With Quote
Old 9th January 2010, 05:29   #4
bludginozzie
Junior Member
 
Join Date: Jan 2010
Posts: 4
I ended up using MessageBox to debug this. Probably not the right way but got the job done.

Also the problem with this plugin is that it's not 64 bit aware. I added the following to my .onInit to resolve it;

code:

${If} ${RunningX64}
SetRegView 64
${Else}
SetRegView 32
${Endif}

bludginozzie is offline   Reply With Quote
Old 11th January 2010, 07:47   #5
MSG
Major Dude
 
Join Date: Oct 2006
Posts: 1,892
Quote:
code:

${If} ${RunningX64}
SetRegView 64
${Else}
SetRegView 32
${Endif}

You should only do this if you want to create registry entries for a 64 bit application. Never use 64 bit registry for a 32 bit application. (NSIS and NSIS installers are 32 bit applications.)
MSG is offline   Reply With Quote
Old 11th January 2010, 07:55   #6
bludginozzie
Junior Member
 
Join Date: Jan 2010
Posts: 4
Thanks for that info. I am building a dual installer that will install a 32bit and 64bit version of the app. I was wondering how I can change the installer to a 64bit exe but I guess you have just answered that for me.

thanks again!
bludginozzie 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