Fellerson
Posts: 3
Joined: Fri Mar 24, 2023 7:48 am

Next button is disabled

Hi Dear

I allow myself to write here because i've an urgent case. I can't install a system by one of our customer because the Next button is disabled.

The setup works perfectly by 99% machine and this machine who is urgent we've an issue.

To explain :
1. In Custom Behavior --> Properties, we defined a new Properties who is "IS_C_DRIVE_OK" with value 0

2. We have a PS script who is checking the free space of the C:\ drive :

Code: Select all

Param()

$drive = Get-PSDrive C | where Free -gt 15GB

New-Item "C:\Temp" -itemType Directory
"$(Get-Date) Checking Free space on C:\ drive" | Out-File "C:\Temp\Set.log" -Append

New-Item "C:\Users\Public\Desktop\Tools" -ItemType Directory
"$(Get-Date) Tools folder in Public Desktop created" | Out-File "C:\Temp\Set.log" -Append

New-Item "C:\Users\Public\Desktop\Running Version" -ItemType Directory
"$(Get-Date) Running Version folder in Public Desktop created" | Out-File "C:\Temp\Set.log" -Append

AI_SetMsiProperty IS_C_DRIVE_OK $drive.Count
3. On our Dialog, we've an Init Events who is "Execute custom action" with Argument "PowerShell_Check_Disk_Space" (script just before) with condition 1
setupfail.png
setupfail.png (53.82 KiB) Viewed 2190 times
The Nesxt > butotn stays disabled even if i've enough free space.
setupfail2.png
setupfail2.png (15.98 KiB) Viewed 2190 times
I compare the logs between 1 machine where it's working perfectly and this machine.

The following line is missing :
MSI (c) (28!6C) [08:44:19:829]: PROPERTY CHANGE: Modifying IS_C_DRIVE_OK property. Its current value is '0'. Its new value: '1'.
The 7 following lines are also missing on the server where it doesn't work
MSI (c) (28!EC) [08:44:17:532]: PROPERTY CHANGE: Adding PreReqSearch_A918597FE054CCCB65ABDBAiVerFound property. Its value is '14.32.31326'.
MSI (c) (28!EC) [08:44:17:532]: PROPERTY CHANGE: Adding PreReqSearch_A918597FE054CCCB65ABDB property. Its value is '14.32.31326'.
MSI (c) (28!EC) [08:44:17:532]: PROPERTY CHANGE: Adding PreReqSearch_C4FE6FD5B7C4D07B3A313EAiVerFound property. Its value is '14.32.31326'.
MSI (c) (28!EC) [08:44:17:532]: PROPERTY CHANGE: Adding PreReqSearch_C4FE6FD5B7C4D07B3A313E property. Its value is '14.32.31326'.
MSI (c) (28!EC) [08:44:17:548]: PROPERTY CHANGE: Adding PreReqSearch_1_A918597FE054CCCB65ABAiVerMin property. Its value is '14.30.30704'.
MSI (c) (28!EC) [08:44:17:548]: PROPERTY CHANGE: Adding PreReqSearch_1_A918597FE054CCCB65ABAiVerFound property. Its value is '14.32.31326'.
MSI (c) (28!EC) [08:44:17:548]: PROPERTY CHANGE: Adding PreReqSearch_1_A918597FE054CCCB65AB property. Its value is '14.32.31326'.
setupfail3.png
setupfail3.png (807.33 KiB) Viewed 2189 times
I already try everything :
- Regedit access is OK
- User Account have Full Admin Rights
- Run As admin
....

I've a custom log where i'm writing ("Set.log" and i can see it works

I'm really lost. I hope somebody can help. Ty.
Catalin
Posts: 6608
Joined: Wed Jun 13, 2018 7:49 am

Re: Next button is disabled

Hey Steve,

From what I can see, you have the same discussion with my colleague Eusebiu over the email.

Please continue the thread there and, if possible, try to avoid duplicating the same thread over the forum as well if you sent an email.

Best regards,
Catalin
Catalin Gheorghe - Advanced Installer Team
Follow us: Twitter - Facebook - YouTube

Return to “Common Problems”