Bug in Debug mode - service installation

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

Bug in Debug mode - service installation

Post by prezmer »

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

Post by prezmer »

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

Post by prezmer »

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

Post by mills »

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

Post by prezmer »

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
Post Reply