cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 
sooraj_er
Level 4

Setup progress stuck at 0% progress for some time

The installer is getting stuck for about 30 seconds at 0% progress in Setup Progress dialog (After clicking Install button in Ready to Install dialog).

The Log file captures the below entries during this delay in Windows Server 2008 and 2012:

MSI (s) (04:60) [02:35:29:652]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (04:60) [02:35:29:652]: Note: 1: 2203 2: C:\Windows\Installer\inprogressinstallinfo.ipi 3: -2147287038
MSI (s) (04:60) [02:35:29:667]: Machine policy value 'LimitSystemRestoreCheckpointing' is 0
MSI (s) (04:60) [02:35:29:667]: Note: 1: 1715 2: RAPIDComm Web Server
MSI (s) (04:60) [02:35:29:667]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed RAPIDComm Web Server.".
MSI (s) (04:60) [02:35:29:667]: The call to SRSetRestorePoint API failed. Returned status: 0. GetLastError() returned: 127
MSI (s) (04:60) [02:35:29:667]: File will have security applied from OpCode.
MSI (s) (04:60) [02:35:30:527]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\administrator.POC1\Desktop\09-Jun-2014\DevDebug 6.0.1244.1\Installation\RapidcommWeb\x64\RAPIDCommWeb.msi' against software restriction policy
MSI (s) (04:60) [02:35:30:527]: SOFTWARE RESTRICTION POLICY: C:\Users\administrator.POC1\Desktop\09-Jun-2014\DevDebug 6.0.1244.1\Installation\RapidcommWeb\x64\RAPIDCommWeb.msi has a digital signature
MSI (s) (04:60) [02:36:01:028]: SOFTWARE RESTRICTION POLICY: C:\Users\administrator.POC1\Desktop\09-Jun-2014\DevDebug 6.0.1244.1\Installation\RapidcommWeb\x64\RAPIDCommWeb.msi is permitted to run at the 'unrestricted' authorization level.


In Windows 7 the delay is between different tasks as per the log file!:

SI (s) (DC:9C) [15:16:38:989]: Machine policy value 'DisableUserInstalls' is 0
MSI (s) (DC:9C) [15:16:39:004]: Machine policy value 'LimitSystemRestoreCheckpointing' is 0
MSI (s) (DC:9C) [15:16:39:004]: Note: 1: 1715 2: RAPIDComm Web Server
MSI (s) (DC:9C) [15:16:39:004]: Calling SRSetRestorePoint API. dwRestorePtType: 0, dwEventType: 102, llSequenceNumber: 0, szDescription: "Installed RAPIDComm Web Server.".
MSI (s) (DC:9C) [15:17:10:329]: The call to SRSetRestorePoint API succeeded. Returned status: 0, llSequenceNumber: 254.

MSI (s) (DC:9C) [15:17:10:345]: File will have security applied from OpCode.
MSI (s) (DC:9C) [15:17:11:234]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\IC016524\Desktop\RapidcommWeb\x64\RAPIDCommWeb.msi' against software restriction policy
MSI (s) (DC:9C) [15:17:11:234]: SOFTWARE RESTRICTION POLICY: C:\Users\IC016524\Desktop\RapidcommWeb\x64\RAPIDCommWeb.msi has a digital signature
MSI (s) (DC:9C) [15:17:11:328]: SOFTWARE RESTRICTION POLICY: C:\Users\IC016524\Desktop\RapidcommWeb\x64\RAPIDCommWeb.msi is permitted to run at the 'unrestricted' authorization level.

How can I remove this delay from the installer?

Thanks,
Sooraj
Labels (1)
0 Kudos
(2) Replies
joshstechnij
Level 10 Flexeran
Level 10 Flexeran

In the General Information view in a Basic MSI or InstallScript MSI project, you can check the box 'No system restore point is saved for this installation' for the Fast Install settings. This sets the MSIFASTINSTALL property (http://msdn.microsoft.com/en-us/library/windows/desktop/dd408005(v=vs.85).aspx) to tell MSI to not create a restore point. Note that this is only available with MSI 5.0 (Windows 7 and newer versions of Windows).

Versions of MSI prior to 5.0 only supported disabling system restore point creation through the LimitSystemRestoreCheckpointing system policy setting.
0 Kudos
sooraj_er
Level 4

Thanks for the reply.

I tried removing the system restore. But the delay is still there. On further analysis I found that the delay is there when I use a signed msi. Unsigned msi installs without delay. Signed msi installtion introduces a delay between the below two steps (From the log file):

MSI (s) (04:60) [02:35:29:667]: File will have security applied from OpCode.
MSI (s) (04:60) [02:35:30:527]: SOFTWARE RESTRICTION POLICY: Verifying package --> 'C:\Users\administrator.POC1\Desktop\09-Jun-2014\DevDebug 6.0.1244.1\Installation\RapidcommWeb\x64\RAPIDCommWeb.msi' against software restriction policy
MSI (s) (04:60) [02:35:30:527]: SOFTWARE RESTRICTION POLICY: C:\Users\administrator.POC1\Desktop\09-Jun-2014\DevDebug 6.0.1244.1\Installation\RapidcommWeb\x64\RAPIDCommWeb.msi has a digital signature
MSI (s) (04:60) [02:36:01:028]: SOFTWARE RESTRICTION POLICY: C:\Users\administrator.POC1\Desktop\09-Jun-2014\DevDebug 6.0.1244.1\Installation\RapidcommWeb\x64\RAPIDCommWeb.msi is permitted to run at the 'unrestricted' authorization level.


Is the software restriction policy check mandatory? Is there anyway I can skip this and make the installation faster?

Thanks,
Sooraj
0 Kudos