Bug in Debug mode - service installation

Got a problem you cannot solve? Try here.
prezmer
Posts: 31
Joined: Wed Jul 23, 2008 8:59 am
Location: Warsaw, Poland

Bug in Debug mode - service installation

Postby prezmer » Wed Nov 17, 2010 10:31 am

Hello,
I've created a simple Native setup project that should install+start Windows service. If run normally, service is installed (with some retry dialogs) but when run in debug mode NT service is not installed.
Project is compiled with debug build checkbox.

IA ver. 10. Mooya.rtm.51110
best regards
Piotr Rezmer

prezmer
Posts: 31
Joined: Wed Jul 23, 2008 8:59 am
Location: Warsaw, Poland

Re: Bug in Debug mode - service installation

Postby prezmer » Wed Nov 17, 2010 10:46 am

The problem is different:
After checking Debug Build in Project Settings, build process seems to be terminated. It looks like it stops somewhere near "Injected runtime files" (window is closed automatically)

Here's output when "Debug build" is unchecked.

Code: Select all

Building Project: ctiRight
Output Folder: C:\BUILDS\ctiRight_BUILD\ctiRight\build\IA\Release\SingleDeployment Type: Compressed Single Self Installing EXE
Code Signing: Disabled
Compression: Best
Compiler Variables: BUILDMODE=SFX,"LANGUAGE=English","TITLE=ctiRight",TARGETDIR=$TARGETDIR$,IADIR=C:\PROGRA~1\INSTAL~1\INSTAL~1,PROJDIR=C:\BUILDS\CTIRIG~1\ctiRight\build\IA,IAVER=10.00
###
Cleared output folder C:\BUILDS\ctiRight_BUILD\ctiRight\build\IA\Release\SingleBuilt plug-in action (Un)Install MSI Setup
Copied service C:\BUILDS\ctiRight_BUILD\ctiRight\bin\ctiRight.exe
Created Windows Installer database
Built installation executable
Injected setup languages
Storing support files: componentstree.dfm (0%)
Injected runtime files
Compressing install: data\setup.msi (0%)
Compressing install: setup.msi (5%)
Compressing install: data\cti Rights Server\4D3F842F\EE5496D6\ctiRight.exe (8%)
Compressing install: setup.exe (29%)
Compressing install: data\OFFLINE\mMSI.dll\mMSIExec.dll (67%)
Compressing install: mia.lib (72%)
Compressing install: setup.res (81%)
best regards

Piotr Rezmer

prezmer
Posts: 31
Joined: Wed Jul 23, 2008 8:59 am
Location: Warsaw, Poland

Re: Bug in Debug mode - service installation

Postby prezmer » Wed Nov 17, 2010 11:00 am

Looks like (un)checking "Debug Build" option changes deployment type. Why?? It makes a lot of confusion. User has to be very careful with clicking on build and run buttons. Especially when pressing Run button (It's hard to distinguish) which build (compressed or not) is started.

Can you do something with it? Eg. add hints when Debug build is changed, hints which deployment version is launched.
best regards

Piotr Rezmer

mills
Posts: 814
Joined: Tue Jul 06, 2010 7:10 pm
Location: Honolulu, HI

Re: Bug in Debug mode - service installation

Postby mills » Wed Nov 24, 2010 4:41 pm

So, is there no real problem? Was it just a matter of confusion over the interface?

You're right, this could be made more clear. We'll see if we can't do something to make this more intuitive.
Andy Mills
InstallAware
Other Help:
White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Product Guides - http://www.installaware.com/publication ... guides.htm
InstallAware Help - Press F1 in the InstallAware IDE.

prezmer
Posts: 31
Joined: Wed Jul 23, 2008 8:59 am
Location: Warsaw, Poland

Re: Bug in Debug mode - service installation

Postby prezmer » Mon Nov 29, 2010 1:06 am

mills wrote:So, is there no real problem? Was it just a matter of confusion over the interface?

You're right, this could be made more clear. We'll see if we can't do something to make this more intuitive.


That's right. If this could be clearer:
-by using hint or popup when checking "Debug build"
-by showing additional information which deployment type is used when building or running the setup.
best regards

Piotr Rezmer


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 28 guests