pachwald
Posts: 11
Joined: Wed Oct 18, 2006 3:01 pm

Error 1001 (fixed), Serial number box not formatted

Hi!

I have a problem executing my .net custom action in 9.7.
When executing the setup, I get an Error 1001, ArgumentException, string must not have length 0.
In the installer log file, I find the following:

Property(S): NetInstallerClass_inst = /LogFile= /ReqVersion=2.0.50727 /InstallType=notransaction /Action=Install "" "C:\Users\[...]\AppData\Local\Temp\NetInstallerClass_Config.xml"

When checking my old msi log files, there should be the full path to the managed dll instead of "".

Property(S): CA_CopyData_Install = /LogFile= /ReqVersion=2.0.50727 /InstallType=notransaction /Action=Install "C:\[...]\CACopyDataFiles.dll" "C:\Users\[...]\AppData\Local\Temp\dotNetCustAct.dll_Config.xml"

Do you have any idea what went wrong?

Thanks,
Alex

PS.: A also found out that the serial number textbox in the dialog is not formatted when I use the exe bootstrapper (Reqire administator set) to start the installation. When doubleclicking the msi or calling it using msiexec from an elevated command line, three textboxes are shown.

Edit:
Found the first error. The feature containing the custom action was installed advertised.
Eusebiu
Posts: 4959
Joined: Wed Nov 14, 2012 2:04 pm

Re: Error 1001 (fixed), Serial number box not formatted

Hi Alex,
PS.: A also found out that the serial number textbox in the dialog is not formatted when I use the exe bootstrapper (Reqire administator set) to start the installation. When doubleclicking the msi or calling it using msiexec from an elevated command line, three textboxes are shown.
Please keep in mind this is the default behavior when the Enhanced User Interface is enabled.

You can check this by going in the "Settings" tab from the Themes page.

The Enchanced User Interface is used only when launching the EXE file, that's why serial number textbox is formatted when you launch the MSI file.

Best regards,
Eusebiu
Eusebiu Aria - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”