Thanks a ton this has eased me a lot, as per the current trend i am planning to do the first scenario as most probably i will get my ppr before i leave and i will be staying in india for 2 months so i think i can manage all the things there itself.You can change your visa office anytime by sending an email to IRCC. They usually change the visa office with 2-3 weeks. You have two scenarios:
Scenario 1
Get the COPR and get the visa stamped in Canada, given that you get the PPR before you leave. Then travel to India, request to add a family member, fill in all the detail, submit the form, get a new COPR and visa stamped and travel to Canada and land as PR.
The only drawback is that you cannot add your spouse before getting married. After you marriage, you will need a marriage certificate, medicals and PCC. After you submit all these documents, IRCC many take anywhere from 1-3 months to process the application, as there has to be medicals, criminality, and security.
Scenario 2
Travel to India and before you travel request for the VO change. Follow the steps given above and get everything processed in India.
Which scenarios you chose will depend on how much time you have to stay in India, in case things are delayed and what will work best for you.
Heartiest congratulations on your marriage!
Thanks