Share via


Error 1001. Error 1001. Exception occurred while initializing the installation:

Question

Monday, September 19, 2011 7:10 PM

Dont know what did I do to my setup project that has made it start giving me the following error. I am not installing anything from SysWOW64. I am using Win 7.

Any help on this will be appreciated.

Error 1001. Error 1001. Exception occurred while initializing the installation:

System.IO.FileNotFoundException: Could not load file or assembly 'file:///C:\Windows\SysWOW64\Files' or one of its dependencies. The system cannot find the file specified..

Fahad

All replies (3)

Monday, September 19, 2011 7:24 PM âś…Answered

I figured I was supposed to put additional \ at the end of the parameter value

/TargetDir="[TARGETDIR]\

Fahad


Monday, September 19, 2011 7:16 PM

Just figured it happens when I add the following line to Custom Action Data property of Install and Commit

 

/TargetDir="[TARGETDIR]"

Fahad


Tuesday, September 20, 2011 3:45 AM

I'm glad to hear that you got it working now.

Best wishes,

Mike [MSFT]
MSDN Community Support | Feedback to us
Get or Request Code Sample from Microsoft
Please remember to mark the replies as answers if they help and unmark them if they provide no help.