Setup Architect->Registry error:''1|'' is not a valid intege

Got a problem you cannot solve? Try here.
Coder For Food
Posts: 21
Joined: Sat Jun 25, 2011 5:21 pm

Setup Architect->Registry error:''1|'' is not a valid intege

Postby Coder For Food » Tue Dec 03, 2013 11:27 am

I have a problem with my IA18 project that I just noticed. If I go into the Project tab and select the Setup Architecture Registry, I get the following error message and I am prohibited from actually going into this edit area.
---------------------------
ACME Software - InstallAware Studio
---------------------------
''1|'' is not a valid integer value.
---------------------------
OK
---------------------------
I say I just noticed because I spend most of my time in the MSICode area hand creating and editing files and features. The interesting thing is, I am still able to add, edit and delete registry operations by hand in the MSICode area and my project seems to compile and execute fine.
My first troubleshooting attempt was to comment out all my MSICode Registry options and try again. This was to no prevail as trying to go directly into Project tab and select the Setup Architecture, Registry, gave me the same error msg.
While my project seems to be in working order, I need to at least find out the root cause of the error before I can ship my product.
BTW: I have upgraded my project and IA version 16 to 17 and now 18.
Any thoughts?

Sheri_Steeves
Posts: 124
Joined: Mon Oct 22, 2012 2:14 pm

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby Sheri_Steeves » Wed Dec 04, 2013 7:24 am

I have the same issue here when I tried to manually create the keys needed to set up my file assocation (see topic http://www.installaware.com/forum/viewtopic.php?f=2&t=9804). In the end I had to delete all my Write Registry Key lines from the script to get the registry panel back but I too would like to know where the error is coming from.

Sheri

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby FrancescoT » Wed Dec 04, 2013 12:36 pm

Dear Sheri,

Could you please post the command parameters you are using ?
Please use IA clipboard format to paste it.

I suspect that your command parameters are not properly entered.


Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Sheri_Steeves
Posts: 124
Joined: Mon Oct 22, 2012 2:14 pm

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby Sheri_Steeves » Thu Dec 05, 2013 7:34 am

Francesco,

I don't have those lines in my script file anymore, but I do have the .reg files (exported from Windows Registry) that I used to create the keys that led to the errors - will those work?

Sheri

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby FrancescoT » Thu Dec 05, 2013 11:41 am

Dear Sheri,

let me try with that reg file ... maybe, I'll find out why it happened.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Sheri_Steeves
Posts: 124
Joined: Mon Oct 22, 2012 2:14 pm

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby Sheri_Steeves » Thu Dec 05, 2013 1:05 pm

Francesco,

I've uploaded a zip file containing 2 .reg files for the file association I was working with; I imported each of those and then started seeing the error "Registry error:"0|" is not a valid integer.


Sheri
Attachments
RegistryImport.zip
(696 Bytes) Downloaded 460 times

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby FrancescoT » Fri Dec 06, 2013 9:54 am

... let me check your file.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Coder For Food
Posts: 21
Joined: Sat Jun 25, 2011 5:21 pm

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby Coder For Food » Fri Dec 06, 2013 3:22 pm

Hello,
In my case (original post at the beginning of this thread), I did not create directly a .reg file. Instead I added the registry commands via script. Perhaps, when you do as I did, it automatically creates these file.

Can you give me some guidance how I can me forward to resolve this problem?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby FrancescoT » Mon Dec 09, 2013 11:32 am

Dear Coder For Food,

by the information you shared, it is not easy for me to find out when or where the error is caused.

Probably, but I am just supposing it, you entered a possible invalid command via MSI code that caused then the error in Setup Architecture -> Registry.

If you want, you could also post (in IA Clipboard format) the registry commands you used with your script.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Coder For Food
Posts: 21
Joined: Sat Jun 25, 2011 5:21 pm

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby Coder For Food » Mon Dec 09, 2013 9:05 pm

Francesco,

That's what is so funny - I commented out all my registry entries in the script file, recompiled and still got the same error.

What do you suggest?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby FrancescoT » Tue Dec 10, 2013 11:16 am

Dear Sheri,

just tested your reg files ... and for what I see, both are correctly imported without errors.

I suspect that the error you experienced was caused by something else.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby FrancescoT » Tue Dec 10, 2013 11:17 am

Dear Coder For Food,

It can only mean that your error is caused by something else.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Coder For Food
Posts: 21
Joined: Sat Jun 25, 2011 5:21 pm

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby Coder For Food » Thu Dec 12, 2013 10:24 am

And what might that be? Are there any steps I can perform to see inside my project file to better diagnose?

FrancescoT
Site Admin
Posts: 5361
Joined: Sun Aug 22, 2010 4:28 am

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby FrancescoT » Thu Dec 12, 2013 11:07 am

Dear Coder For Food,

I can suggest you a possible way to use in order to localize the invalid entry.

BEFORE TO PROCEED MAKE A FULL BACKUP OF ALL YOUR PROJECT FILEs.

1- Select all your script code and copy it to clipboard (... use the IA Clipboard format and not "copy as text").
2- Open notepad and paste in the clipboard content.
3- Search for any occurrence of ''1|'' (without quotes).
4- If found, replace ''1|'' with ''1'' ... having care to not alliterate the other existing code entries.
5- Paste back all the code from Notepad to the IA script. Optionally you could copy and past the affected Command entries only.

Hope this helps you.

Regards
Francesco Toscano
InstallAware Software

White Papers (HowTos) - http://www.installaware.com/publication ... papers.htm
Publications - http://www.installaware.com/publications-review.htm
InstallAware Help -F1 anywhere in the InstallAware IDE

Uthoroc
Posts: 16
Joined: Wed Aug 22, 2007 6:49 am
Location: Siegen, Germany
Contact:

Re: Setup Architect->Registry error:''1|'' is not a valid in

Postby Uthoroc » Mon Dec 16, 2013 3:54 am

Hello Francesco,

I am experiencing the same problem with a fresh install of IA18 (just purchased last Friday).

I created a new project by saving an old one under a new name, editing the properties etc. I deleted the existing registry entries from the script code and then went to Design > Registry. The described error pops up (''1|'' is not a valid integer value.) and I am unable to enter the registry part of the design interface.

I've tried the above suggestions, copying the complete code into a text file, but no "1|" can be found in there. Any other suggestions?
Ralf Schemmann
ProFantasy Software Ltd
General Manager


Return to “Technical Support”

Who is online

Users browsing this forum: No registered users and 69 guests